mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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
2 changed files with 13 additions and 0 deletions
|
@ -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>
|
||||
|
||||
* 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;
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue