We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39a4780 + e0e0576 commit 0c24affCopy full SHA for 0c24aff
1 file changed
IDE/Espressif/ESP-IDF/examples/wolfssl_client/main/client-tls.c
@@ -297,8 +297,8 @@ WOLFSSL_ESP_TASK tls_smp_client_task(void* args)
297
298
/* see user_settings PROJECT_DH for HAVE_DH and HAVE_FFDHE_2048 */
299
#ifndef NO_DH
300
- ret = wolfSSL_CTX_SetMinDhKey_Sz(ctx, (word16)minDhKeyBits);
301
- if (ret != WOLFSSL_SUCCESS) {
+ ret_i = wolfSSL_CTX_SetMinDhKey_Sz(ctx, (word16)minDhKeyBits);
+ if (ret_i != WOLFSSL_SUCCESS) {
302
ESP_LOGE(TAG, "Error setting minimum DH key size");
303
}
304
#endif
0 commit comments