mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Minor cleanup
This commit is contained in:
parent
403ee0b62e
commit
d479db53e0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user