diff --git a/tests/api.c b/tests/api.c index a4c510919..48b40a0df 100644 --- a/tests/api.c +++ b/tests/api.c @@ -40348,7 +40348,7 @@ static int test_wolfSSL_THREADID_hash(void) printf(resultFmt, passed); #endif /* OPENSSL_EXTRA */ (void)id; - (void)ret; + (void)res; return ret; } static int test_wolfSSL_CTX_set_ecdh_auto(void) @@ -40363,6 +40363,7 @@ static int test_wolfSSL_CTX_set_ecdh_auto(void) AssertIntEQ( wolfSSL_CTX_set_ecdh_auto(ctx,1),1); printf(resultFmt, passed); #endif /* OPENSSL_EXTRA */ + (void)ctx; return ret; } diff --git a/wolfssl/openssl/ssl.h b/wolfssl/openssl/ssl.h index 023778edf..52cbabbb1 100644 --- a/wolfssl/openssl/ssl.h +++ b/wolfssl/openssl/ssl.h @@ -1267,7 +1267,7 @@ wolfSSL_X509_STORE_set_verify_cb((WOLFSSL_X509_STORE *)(s), (WOLFSSL_X509_STORE_ #define OPENSSL_cleanse wolfSSL_OPENSSL_cleanse #define SSL_CTX_get_timeout wolfSSL_SSL_CTX_get_timeout #define SSL_CTX_set_tmp_ecdh wolfSSL_SSL_CTX_set_tmp_ecdh -#define SSL_CTX_set_ecdh_auto(...) +//#define SSL_CTX_set_ecdh_auto(...) #define SSL_CTX_remove_session wolfSSL_SSL_CTX_remove_session #define SSL_get_rbio wolfSSL_SSL_get_rbio #define SSL_get_wbio wolfSSL_SSL_get_wbio