mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 09:05:59 +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;
|
||||
}
|
||||
|
||||
tls->ctx = wolfSSL_CTX_new(wolfTLSv1_2_client_method());
|
||||
tls->ctx = wolfSSL_CTX_new(wolfSSLv23_client_method());
|
||||
if (!tls->ctx) {
|
||||
ESP_LOGE(TAG, "Set wolfSSL ctx failed");
|
||||
goto exit;
|
||||
|
Reference in New Issue
Block a user