1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* keyserver.c (keyserver_import_cert): Allow keyserver URLs in

addition to full URLs in CERT records.
This commit is contained in:
David Shaw 2008-09-04 16:54:58 +00:00
parent d30fdae24b
commit 1377e1fe8d
2 changed files with 6 additions and 7 deletions

View 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);
}
}