mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-24 07:43:17 +08:00
Merge branch 'feature/wolfssl_tls_version' into 'master'
feat(wolfssl): Make wolfssl support TLSv1.0, TLSv1.1, TLSv1.2 protocols See merge request sdk/ESP8266_RTOS_SDK!1066
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