summaryrefslogtreecommitdiffstats
path: root/g10/keyserver.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2006-02-23 00:37:23 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2006-02-23 00:37:23 +0100
commit1ae024ef81d108c68d00a96fca6f808b4a9c454d (patch)
treecf9ea77a36a9d3096eed336ba148a2426559245b /g10/keyserver.c
parent* gpgkeys_hkp.c (get_name): A GETNAME query turns exact=on to cut down on (diff)
downloadgnupg2-1ae024ef81d108c68d00a96fca6f808b4a9c454d.tar.xz
gnupg2-1ae024ef81d108c68d00a96fca6f808b4a9c454d.zip
* 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.
Diffstat (limited to 'g10/keyserver.c')
-rw-r--r--g10/keyserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c
index d9ed7ebbc..bf3ce2149 100644
--- a/g10/keyserver.c
+++ b/g10/keyserver.c
@@ -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);