From: Howard Chu Date: Wed, 4 Sep 2002 07:17:31 +0000 (+0000) Subject: Set SSL session cache context ID X-Git-Tag: NO_SLAP_OP_BLOCKS~1025 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af05dd5511e4b04894797d9b79aa40cf015b62b6;p=openldap Set SSL session cache context ID --- diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index b0692a3fb8..68f7e09b59 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -231,6 +231,9 @@ ldap_pvt_tls_init_def_ctx( void ) goto error_exit; } + SSL_CTX_set_session_id_context( tls_def_ctx, + "OpenLDAP", sizeof("OpenLDAP")-1 ); + if ( tls_opt_ciphersuite && !SSL_CTX_set_cipher_list( tls_def_ctx, ciphersuite ) ) {