Home GnuPG
Diffusion GnuPG 98fbac614105

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.

(cherry picked from commit 4b2066afb4988c32a030330acf51b7b0dc190041)

  • GnuPG-bug-id: T6047
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sep 29 2022, 2:48 AM
wernerCommitted on Oct 7 2022, 1:21 PM
Parents
rG5516f92224b6: dirmngr: Interrogate LDAP server when base DN specified.
Branches
Unknown
Tags
Unknown
Tasks
T6047: Dirmngr - LDAP Schema V2 not used when Base DN is specified