mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#5955
This commit is contained in:
parent
e841247c90
commit
331a57fa37
@ -635,9 +635,11 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg )
|
|||||||
case LDAP_OPT_X_TLS_REQUIRE_CERT:
|
case LDAP_OPT_X_TLS_REQUIRE_CERT:
|
||||||
*(int *)arg = lo->ldo_tls_require_cert;
|
*(int *)arg = lo->ldo_tls_require_cert;
|
||||||
break;
|
break;
|
||||||
|
#ifdef HAVE_OPENSSL_CRL
|
||||||
case LDAP_OPT_X_TLS_CRLCHECK: /* OpenSSL only */
|
case LDAP_OPT_X_TLS_CRLCHECK: /* OpenSSL only */
|
||||||
*(int *)arg = lo->ldo_tls_crlcheck;
|
*(int *)arg = lo->ldo_tls_crlcheck;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case LDAP_OPT_X_TLS_CIPHER_SUITE:
|
case LDAP_OPT_X_TLS_CIPHER_SUITE:
|
||||||
*(char **)arg = lo->ldo_tls_ciphersuite ?
|
*(char **)arg = lo->ldo_tls_ciphersuite ?
|
||||||
LDAP_STRDUP( lo->ldo_tls_ciphersuite ) : NULL;
|
LDAP_STRDUP( lo->ldo_tls_ciphersuite ) : NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user