1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-31 11:41:32 +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 19:37:58 +00:00
parent ce7d313333
commit e161b21b53
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-12 David Shaw <dshaw@jabberwocky.com>
* keygen.c (make_backsig): New function to add a backsig to a

View File

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