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

Powerpc64 fix.

This commit is contained in:
Werner Koch 2008-03-25 10:45:59 +00:00
parent 3886468f75
commit 2c045c4fca
34 changed files with 5441 additions and 5660 deletions

View file

@ -1,3 +1,8 @@
2008-03-25 Werner Koch <wk@g10code.com>
* gpgkeys_ldap.c (build_attrs): Take care of char defaulting to
unsigned when using hextobyte.
2007-12-17 David Shaw <dshaw@jabberwocky.com>
* Makefile.am: Fix compile error when libcurl is in a nonstandard

View file

@ -536,9 +536,9 @@ build_attrs(LDAPMod ***modlist,char *line)
while(*tok)
if(tok[0]=='%' && tok[1] && tok[2])
{
if((userid[i]=hextobyte(&tok[1]))==-1)
userid[i]='?';
int c;
userid[i] = (c=hextobyte(&tok[1])) == -1 ? '?' : c;
i++;
tok+=3;
}