mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
dirmngr: Fix STARTTLS on LDAP connections.
* dirmngr/ks-engine-ldap.c (my_ldap_connect): Fix unfortunate typo. -- Courtesy of pkgsrc contributor fhajny. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
cbf2ac6669
commit
9e6f8a55ed
@ -513,7 +513,7 @@ my_ldap_connect (parsed_uri_t uri, LDAP **ldap_connp,
|
||||
#endif /* LDAP_OPT_X_TLS_CACERTFILE && HAVE_LDAP_SET_OPTION */
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_LDAP_START_TLS_S
|
||||
#ifdef HAVE_LDAP_START_TLS_S
|
||||
if (uri->use_tls)
|
||||
{
|
||||
/* XXX: We need an option to determine whether to abort if the
|
||||
|
Loading…
x
Reference in New Issue
Block a user