Changed the function name to be called in the unit test to the OpeSSL function name.

This commit is contained in:
TakayukiMatsuo
2021-03-26 04:30:36 +09:00
parent 8dcaa8c4b6
commit 79837eeb8e

View File

@ -41925,11 +41925,11 @@ static int test_wolfSSL_CTX_set_ecdh_auto(void)
int ret = 0; int ret = 0;
WOLFSSL_CTX* ctx = NULL; WOLFSSL_CTX* ctx = NULL;
#if defined(OPENSSL_EXTRA) #if defined(OPENSSL_EXTRA)
printf(testingFmt, "wolfSSL_CTX_set_ecdh_auto"); printf(testingFmt, "SSL_CTX_set_ecdh_auto");
AssertIntEQ( wolfSSL_CTX_set_ecdh_auto(NULL,0),1); AssertIntEQ( SSL_CTX_set_ecdh_auto(NULL,0),1);
AssertIntEQ( wolfSSL_CTX_set_ecdh_auto(NULL,1),1); AssertIntEQ( SSL_CTX_set_ecdh_auto(NULL,1),1);
AssertIntEQ( wolfSSL_CTX_set_ecdh_auto(ctx,0),1); AssertIntEQ( SSL_CTX_set_ecdh_auto(ctx,0),1);
AssertIntEQ( wolfSSL_CTX_set_ecdh_auto(ctx,1),1); AssertIntEQ( SSL_CTX_set_ecdh_auto(ctx,1),1);
printf(resultFmt, passed); printf(resultFmt, passed);
#endif /* OPENSSL_EXTRA */ #endif /* OPENSSL_EXTRA */
(void)ctx; (void)ctx;