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:
parent
4615a538bf
commit
b27b7aea6d
@ -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
|
||||||
|
@ -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. */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user