mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
* keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme to
lowercase to be case-insensitive.
This commit is contained in:
parent
1324f0c83a
commit
745d270c07
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-29 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* keyserver.c (parse_keyserver_uri): Force the keyserver URI
|
||||||
|
scheme to lowercase to be case-insensitive.
|
||||||
|
|
||||||
2002-09-28 David Shaw <dshaw@jabberwocky.com>
|
2002-09-28 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* sig-check.c (check_key_signature2): Properly handle a
|
* sig-check.c (check_key_signature2): Properly handle a
|
||||||
|
@ -140,6 +140,14 @@ parse_keyserver_uri(char *uri,const char *configname,unsigned int configlineno)
|
|||||||
uri=opt.keyserver_scheme;
|
uri=opt.keyserver_scheme;
|
||||||
opt.keyserver_scheme="hkp";
|
opt.keyserver_scheme="hkp";
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* Force to lowercase */
|
||||||
|
char *i;
|
||||||
|
|
||||||
|
for(i=opt.keyserver_scheme;*i!='\0';i++)
|
||||||
|
*i=ascii_tolower(*i);
|
||||||
|
}
|
||||||
|
|
||||||
if(ascii_strcasecmp(opt.keyserver_scheme,"x-broken-hkp")==0)
|
if(ascii_strcasecmp(opt.keyserver_scheme,"x-broken-hkp")==0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user