aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_hkp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--keyserver/gpgkeys_hkp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c
index df03bc75b..c1160fa33 100644
--- a/keyserver/gpgkeys_hkp.c
+++ b/keyserver/gpgkeys_hkp.c
@@ -327,6 +327,9 @@ get_name(const char *getkey)
append_path(request,"/pks/lookup?op=get&options=mr&search=");
strcat(request,searchkey_encoded);
+ if(opt->action==KS_GETNAME)
+ strcat(request,"&exact=on");
+
if(opt->verbose>2)
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);