mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
components/openssl: add SSL and SSL context verify mode selection
This commit is contained in:
@@ -160,13 +160,7 @@ int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey)
|
||||
|
||||
ssl->cert->pkey = pkey;
|
||||
|
||||
ssl_ret = SSL_METHOD_CALL(reload_crt, ssl);
|
||||
if (ssl_ret)
|
||||
ret = 0;
|
||||
else
|
||||
ret = 1;
|
||||
|
||||
return ret;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user