mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-23 17:17:14 +00:00
components/openssl: add empty fucntion to get peer certification and fix ref overflow
This commit is contained in:
@@ -74,7 +74,6 @@ int ssl_pm_new(SSL *ssl)
|
||||
int mode;
|
||||
int version;
|
||||
|
||||
SSL_CTX *ctx = ssl->ctx;
|
||||
const SSL_METHOD *method = ssl->method;
|
||||
|
||||
struct x509_pm *x509_pm;
|
||||
@@ -185,9 +184,9 @@ int ssl_pm_handshake(SSL *ssl)
|
||||
}
|
||||
ssl_speed_up_exit();
|
||||
|
||||
if (!mbed_ret)
|
||||
if (!mbed_ret) {
|
||||
ret = 1;
|
||||
else {
|
||||
} else {
|
||||
ret = 0;
|
||||
SSL_DEBUG(1, "mbedtls_ssl_handshake [-0x%x]\n", -mbed_ret);
|
||||
}
|
||||
|
Reference in New Issue
Block a user