* keyserver.c (keyserver_import_cert): Allow keyserver URLs in
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 4 Sep 2008 16:54:58 +0000 (16:54 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 4 Sep 2008 16:54:58 +0000 (16:54 +0000)
  addition to full URLs in CERT records.

g10/ChangeLog
g10/keyserver.c

index 6556ce2..3478257 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-04  David Shaw  <dshaw@jabberwocky.com>
+
+       * keyserver.c (keyserver_import_cert): Allow keyserver URLs in
+       addition to full URLs in CERT records.
+
 2008-08-11  Werner Koch  <wk@g10code.com>
 
        * keygen.c (ask_expire_interval): Check for time overflow of an
index 9203533..a54f2d1 100644 (file)
@@ -2041,13 +2041,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_t 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);
            }
        }