1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-08 12:44:23 +01:00

* keyserver.c (parse_keyserver_uri): Do not accept "http" as an alias for

"hkp".  They are not the same thing.
This commit is contained in:
David Shaw 2004-04-20 20:17:38 +00:00
parent 3ec6fecade
commit 36e6975ac9
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-04-20 David Shaw <dshaw@jabberwocky.com>
* keyserver.c (parse_keyserver_uri): Do not accept "http" as an
alias for "hkp". They are not the same thing.
2004-04-19 David Shaw <dshaw@jabberwocky.com>
* options.h, g10.c (main): Add keyserver-option

View File

@ -184,8 +184,7 @@ parse_keyserver_uri(char *uri,const char *configname,unsigned int configlineno)
scheme="hkp";
add_to_strlist(&opt.keyserver_options.other,"broken-http-proxy");
}
else if(ascii_strcasecmp(scheme,"x-hkp")==0
|| ascii_strcasecmp(scheme,"http")==0)
else if(ascii_strcasecmp(scheme,"x-hkp")==0)
{
/* Canonicalize this to "hkp" so it works with both the internal
and external keyserver interface. */