diff options
Diffstat (limited to 'keyserver')
-rw-r--r-- | keyserver/ChangeLog | 6 | ||||
-rw-r--r-- | keyserver/gpgkeys_hkp.c | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index 14d5f6244..cc42a6426 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,9 @@ +2011-01-20 Werner Koch <[email protected]> + + * gpgkeys_hkp.c (get_name): Remove test for KS_GETNAME. It is + always true. + (search_key): Remove test for KS_GETNAME. It is always false. + 2009-08-26 Werner Koch <[email protected]> * gpgkeys_hkp.c: Include util.h. diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index a44f09131..d43a61ab5 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -340,7 +340,7 @@ get_name(const char *getkey) opt->path, appendable_path (opt->path,"/pks/lookup?op=get&options=mr&search="), searchkey_encoded, - opt->action == KS_GETNAME? "&exact=on":"", + "&exact=on", NULL); if(!request) { @@ -429,7 +429,6 @@ search_key(const char *searchkey) appendable_path (opt->path, "/pks/lookup?op=index&options=mr&search="), hexprefix, searchkey_encoded, - opt->action == KS_GETNAME? "&exact=on":"", NULL); if(!request) { @@ -687,7 +686,7 @@ main(int argc,char *argv[]) goto fail; } - if(ks_strcasecmp(opt->scheme,"hkps")==0) + if(ascii_strcasecmp(opt->scheme,"hkps")==0) { proto="https"; port="443"; |