mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
components/openssl: SSL load verify data from itself structure when "new"
This commit is contained in:
@@ -282,6 +282,9 @@ SSL *SSL_new(SSL_CTX *ctx)
|
||||
ssl->version = ctx->version;
|
||||
ssl->options = ctx->options;
|
||||
|
||||
ssl->cert = ctx->cert;
|
||||
ssl->client_CA = ctx->client_CA;
|
||||
|
||||
ret = SSL_METHOD_CALL(new, ssl);
|
||||
if (ret)
|
||||
SSL_RET(failed2, "ssl_new\n");
|
||||
|
Reference in New Issue
Block a user