]> git.sur5r.net Git - openldap/commitdiff
Backport ITS#4815 fix from HEAD
authorHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 03:28:40 +0000 (03:28 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 03:28:40 +0000 (03:28 +0000)
libraries/libldap/tls.c

index 8a4e79d7eac6309dfc94b1528aab69de1222dc2f..2fd513e950f5ee3a75d30064e6ee6b9b72b58da6 100644 (file)
@@ -1290,6 +1290,10 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg )
                *(int *)arg = tls_opt_crlcheck;
                break;
 #endif
+       case LDAP_OPT_X_TLS_CIPHER_SUITE:
+               *(char **)arg = tls_opt_ciphersuite ?
+                       LDAP_STRDUP( tls_opt_ciphersuite ) : NULL;
+               break;
        case LDAP_OPT_X_TLS_RANDOM_FILE:
                *(char **)arg = tls_opt_randfile ?
                        LDAP_STRDUP( tls_opt_randfile ) : NULL;