mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* options.h, keyserver-internal.h, keyserver.c (keyserver_import_name),
getkey.c (free_akl, parse_auto_key_locate, get_pubkey_byname): The obvious next step: allow arbitrary keyservers in the auto-key-locate list.
This commit is contained in:
parent
482a3a0101
commit
1ae024ef81
6 changed files with 45 additions and 9 deletions
|
@ -2001,14 +2001,14 @@ keyserver_import_pka(const char *name,unsigned char *fpr)
|
|||
|
||||
/* Import all keys that match name */
|
||||
int
|
||||
keyserver_import_name(const char *name)
|
||||
keyserver_import_name(const char *name,struct keyserver_spec *keyserver)
|
||||
{
|
||||
STRLIST list=NULL;
|
||||
int rc;
|
||||
|
||||
append_to_strlist(&list,name);
|
||||
|
||||
rc=keyserver_work(KS_GETNAME,list,NULL,0,opt.keyserver);
|
||||
rc=keyserver_work(KS_GETNAME,list,NULL,0,keyserver);
|
||||
|
||||
free_strlist(list);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue