mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
* keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme to
lowercase to be case-insensitive.
This commit is contained in:
parent
9380f80b14
commit
383ff96bea
@ -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>
|
||||||
|
|
||||||
* export.c (do_export_stream): Comment.
|
* export.c (do_export_stream): Comment.
|
||||||
|
@ -139,6 +139,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