From d479db53e0a09b6b8006a07b176cea2f9a00eee0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 31 Jul 2009 03:26:03 +0000 Subject: [PATCH] Minor cleanup --- libraries/libldap/tls_m.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/libldap/tls_m.c b/libraries/libldap/tls_m.c index 05e8648739..55b35ec7e7 100644 --- a/libraries/libldap/tls_m.c +++ b/libraries/libldap/tls_m.c @@ -1204,9 +1204,7 @@ tlsm_ctx_new ( struct ldapoptions *lo ) ctx->tc_model = NULL; memset(&ctx->tc_callonce, 0, sizeof(ctx->tc_callonce)); ctx->tc_require_cert = lo->ldo_tls_require_cert; - } else { - LDAP_FREE( ctx ); - ctx = NULL; + ctx->tc_verify_cert = PR_FALSE; } return (tls_ctx *)ctx; } -- 2.39.5