From 8e48a3c3178e7ba17305a8553602b49be0c25f24 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 9 Nov 2006 23:00:38 +0000 Subject: [PATCH] ITS#4726 call ldap_pvt_tls_init() in init_ctx() to make sure initialization is done --- libraries/libldap/tls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index 49cd184595..283e0e56d9 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -215,6 +215,8 @@ ldap_int_tls_init_ctx( struct ldapoptions *lo, int is_server ) if ( lo->ldo_tls_ctx ) return 0; + ldap_pvt_tls_init(); + if ( is_server && !certfile && !keyfile && !cacertfile && !cacertdir ) { /* minimum configuration not provided */ return LDAP_NOT_SUPPORTED; -- 2.39.5