From: Howard Chu Date: Wed, 24 Jan 2007 23:38:26 +0000 (+0000) Subject: ITS#4815 get_option for TLS Cipher Suite was not implemented X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~151 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52a7af82305c058ff2bc02ac519a62520f665a83;p=openldap ITS#4815 get_option for TLS Cipher Suite was not implemented --- diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index f0ebe92248..2d14794a19 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -1299,6 +1299,10 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg ) *(int *)arg = lo->ldo_tls_crlcheck; break; #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: *(char **)arg = tls_opt_randfile ? LDAP_STRDUP( tls_opt_randfile ) : NULL;