1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-31 11:41:32 +01:00

Quote backslashes in keyserver search responses

This commit is contained in:
David Shaw 2002-03-29 16:26:33 +00:00
parent 5fe15dfeb5
commit d56fb26c55
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-03-29 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (printquoted): Quote backslashes
2002-02-25 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap (get_key): LDAP keyservers do not support v3

View File

@ -438,8 +438,8 @@ void printquoted(FILE *stream,char *string,char delim)
{
while(*string)
{
if(*string==delim)
fprintf(stream,"\\x%02X",*string);
if(*string==delim || *string=='\\')
fprintf(stream,"\\x%02x",*string);
else
fputc(*string,stream);