wolfSSL: Do not free cert store after setting it
Signed-off-by: Sean Parkinson <sean@wolfssl.com>
This commit is contained in:
parent
b7f5b0ec65
commit
71faf06cb6
1 changed files with 0 additions and 1 deletions
|
@ -1179,7 +1179,6 @@ static int tls_connection_ca_cert(void *tls_ctx, struct tls_connection *conn,
|
|||
return -1;
|
||||
}
|
||||
wolfSSL_CTX_set_cert_store(ctx, cm);
|
||||
XFREE(cm, NULL, DYNAMIC_TYPE_X509_STORE);
|
||||
|
||||
if (wolfSSL_CTX_load_verify_locations(ctx, ca_cert, ca_path) !=
|
||||
SSL_SUCCESS) {
|
||||
|
|
Loading…
Reference in a new issue