Set SSL session cache context ID

This commit is contained in:
Howard Chu 2002-09-04 07:17:31 +00:00
parent f64021ed2f
commit af05dd5511

View file

@ -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 ) )
{