Skip to content

Commit e0e0576

Browse files
author
gojimmypi
committed
fix interim return variable name when DH enabled
1 parent 3875a18 commit e0e0576

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • IDE/Espressif/ESP-IDF/examples/wolfssl_client/main

IDE/Espressif/ESP-IDF/examples/wolfssl_client/main/client-tls.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ WOLFSSL_ESP_TASK tls_smp_client_task(void* args)
297297

298298
/* see user_settings PROJECT_DH for HAVE_DH and HAVE_FFDHE_2048 */
299299
#ifndef NO_DH
300-
ret = wolfSSL_CTX_SetMinDhKey_Sz(ctx, (word16)minDhKeyBits);
301-
if (ret != WOLFSSL_SUCCESS) {
300+
ret_i = wolfSSL_CTX_SetMinDhKey_Sz(ctx, (word16)minDhKeyBits);
301+
if (ret_i != WOLFSSL_SUCCESS) {
302302
ESP_LOGE(TAG, "Error setting minimum DH key size");
303303
}
304304
#endif

0 commit comments

Comments
 (0)