1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

* gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings that

got shrunk due to encoding.
This commit is contained in:
David Shaw 2004-08-23 14:24:05 +00:00
parent 4615a538bf
commit b27b7aea6d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-08-23 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (build_attrs): Properly terminate user ID strings
that got shrunk due to encoding.
2004-08-22 David Shaw <dshaw@jabberwocky.com> 2004-08-22 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (find_basekeyspacedn): Use LDAP_SCOPE_BASE along * gpgkeys_ldap.c (find_basekeyspacedn): Use LDAP_SCOPE_BASE along

View File

@ -534,6 +534,8 @@ build_attrs(LDAPMod ***modlist,char *line)
else else
userid[i++]=*tok++; userid[i++]=*tok++;
userid[i]='\0';
/* We don't care about the other info provided in the uid: line /* We don't care about the other info provided in the uid: line
since the LDAP schema doesn't need it. */ since the LDAP schema doesn't need it. */