From 9855a6b18af2d6ce540499183cca75b572f5b818 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 4 Sep 2008 16:47:34 +0000 Subject: [PATCH] * keyserver.c (keyserver_import_cert): Allow keyserver URLs in addition to full URLs in CERT records. --- g10/ChangeLog | 5 +++++ g10/keyserver.c | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/g10/ChangeLog b/g10/ChangeLog index 0d9ba8c9c..91b19ae43 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +2008-09-04 David Shaw + + * keyserver.c (keyserver_import_cert): Allow keyserver URLs in + addition to full URLs in CERT records. + 2008-08-11 Werner Koch * keygen.c (ask_expire_interval): Check for time overflow of an diff --git a/g10/keyserver.c b/g10/keyserver.c index adeee5935..c50f5961f 100644 --- a/g10/keyserver.c +++ b/g10/keyserver.c @@ -2018,13 +2018,7 @@ keyserver_import_cert(const char *name,unsigned char **fpr,size_t *fpr_len) spec=parse_keyserver_uri(url,1,NULL,0); if(spec) { - STRLIST list=NULL; - - add_to_strlist(&list,url); - - rc=keyserver_fetch(list); - - free_strlist(list); + rc=keyserver_import_fprint(*fpr,*fpr_len,spec); free_keyserver_spec(spec); } }