1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* keyserver.c (parse_keyserver_uri): Accept "http" as an alias for "hkp",

since it is occasionally written that way.

* mainproc.c (check_sig_and_print): Grammar fix ;)
This commit is contained in:
David Shaw 2003-06-19 03:39:37 +00:00
parent f80c14b8ef
commit 36fce8bd93
3 changed files with 12 additions and 2 deletions

View file

@ -156,7 +156,8 @@ 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)
else if(ascii_strcasecmp(opt.keyserver_scheme,"x-hkp")==0
|| ascii_strcasecmp(opt.keyserver_scheme,"http")==0)
{
/* Canonicalize this to "hkp" so it works with both the internal
and external keyserver interface. */