mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#4815 get_option for TLS Cipher Suite was not implemented
This commit is contained in:
parent
5856d39289
commit
52a7af8230
@ -1299,6 +1299,10 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg )
|
|||||||
*(int *)arg = lo->ldo_tls_crlcheck;
|
*(int *)arg = lo->ldo_tls_crlcheck;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
case LDAP_OPT_X_TLS_CIPHER_SUITE:
|
||||||
|
*(char **)arg = lo->ldo_tls_ciphersuite ?
|
||||||
|
LDAP_STRDUP( lo->ldo_tls_ciphersuite ) : NULL;
|
||||||
|
break;
|
||||||
case LDAP_OPT_X_TLS_RANDOM_FILE:
|
case LDAP_OPT_X_TLS_RANDOM_FILE:
|
||||||
*(char **)arg = tls_opt_randfile ?
|
*(char **)arg = tls_opt_randfile ?
|
||||||
LDAP_STRDUP( tls_opt_randfile ) : NULL;
|
LDAP_STRDUP( tls_opt_randfile ) : NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user