Home GnuPG
Diffusion GnuPG 4b2066afb498

dirmngr: Change interrogate_ldap_dn for better memory semantics.

Description

dirmngr: Change interrogate_ldap_dn for better memory semantics.

* dirmngr/ks-engine-ldap.c (interrogate_ldap_dn): Return BASEDN found,
memory allocated.
(my_ldap_connect): Follow the change, removing needless allocation.
  • GnuPG-bug-id: T6047
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details