Minor cleanup

This commit is contained in:
Howard Chu 2009-07-31 03:26:03 +00:00
parent 403ee0b62e
commit d479db53e0

View File

@ -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;
}