From: Howard Chu Date: Fri, 31 Jul 2009 03:26:03 +0000 (+0000) Subject: Minor cleanup X-Git-Tag: ACLCHECK_0~374 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d479db53e0a09b6b8006a07b176cea2f9a00eee0;p=openldap Minor cleanup --- 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; }