mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 17:16:29 +08:00
feat(wolfssl): Make wolfssl support TLSv1.0, TLSv1.1, TLSv1.2 protocols
This commit is contained in:
@ -419,7 +419,7 @@ exit:
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
tls->ctx = wolfSSL_CTX_new(wolfTLSv1_2_client_method());
|
tls->ctx = wolfSSL_CTX_new(wolfSSLv23_client_method());
|
||||||
if (!tls->ctx) {
|
if (!tls->ctx) {
|
||||||
ESP_LOGE(TAG, "Set wolfSSL ctx failed");
|
ESP_LOGE(TAG, "Set wolfSSL ctx failed");
|
||||||
goto exit;
|
goto exit;
|
||||||
|
Reference in New Issue
Block a user