added test case for wolfSSL_configure_args and added fix

new fix

removing redundant () in code
pull/6444/head
dell5060 2023-05-24 17:29:04 -06:00
parent 5a49b8c436
commit c0116d6026
1 changed files with 11 additions and 0 deletions

View File

@ -66101,6 +66101,16 @@ static int test_dtls_ipv6_check(void)
return TEST_SKIPPED;
}
#endif
static int test_wolfSSL_configure_args(void)
{
#if defined(LIBWOLFSSL_CONFIGURE_ARGS) && defined(HAVE_WC_INTROSPECTION)
AssertNotNull(wolfSSL_configure_args());
return TEST_SUCCESS;
#else
return TEST_SKIPPED;
#endif
}
/*----------------------------------------------------------------------------*
| Main
*----------------------------------------------------------------------------*/
@ -66348,6 +66358,7 @@ TEST_CASE testCases[] = {
TEST_DECL(test_wc_ERR_remove_state),
TEST_DECL(test_wc_ERR_print_errors_fp),
#endif
TEST_DECL(test_wolfSSL_configure_args),
TEST_DECL(test_wolfSSL_set_options),
TEST_DECL(test_wolfSSL_sk_SSL_CIPHER),
TEST_DECL(test_wolfSSL_set1_curves_list),