forked from wolfSSL/wolfssl
Changed the function name to be called in the unit test to the OpeSSL function name.
This commit is contained in:
10
tests/api.c
10
tests/api.c
@ -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;
|
||||||
|
Reference in New Issue
Block a user