]> git.sur5r.net Git - openldap/commitdiff
Set SSL session cache context ID
authorHoward Chu <hyc@openldap.org>
Wed, 4 Sep 2002 07:17:31 +0000 (07:17 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 4 Sep 2002 07:17:31 +0000 (07:17 +0000)
libraries/libldap/tls.c

index b0692a3fb8dbf0047afdab1e9d674b3f89dadbb8..68f7e09b59210ed8c56be0560cf983d9563169af 100644 (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 ) )
                {