@@ -7402,7 +7402,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_md5_test(void)
74027402 testVector a, b, c, d;
74037403 testVector test_hmac[4];
74047404
7405- wc_test_ret_t ret;
7405+ wc_test_ret_t ret = WC_TEST_RET_ENC_NC ;
74067406 int times = sizeof(test_hmac) / sizeof(testVector), i;
74077407 WOLFSSL_ENTER("hmac_md5_test");
74087408
@@ -7543,7 +7543,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha_test(void)
75437543 testVector a, b, c, d;
75447544 testVector test_hmac[4];
75457545
7546- wc_test_ret_t ret;
7546+ wc_test_ret_t ret = WC_TEST_RET_ENC_NC ;
75477547 int times = sizeof(test_hmac) / sizeof(testVector), i;
75487548
75497549#if FIPS_VERSION3_GE(6,0,0)
@@ -7700,7 +7700,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha224_test(void)
77007700 testVector a, b, c, d;
77017701 testVector test_hmac[4];
77027702
7703- wc_test_ret_t ret;
7703+ wc_test_ret_t ret = WC_TEST_RET_ENC_NC ;
77047704 int times = sizeof(test_hmac) / sizeof(testVector), i;
77057705 WOLFSSL_ENTER("hmac_sha224_test");
77067706
@@ -7844,7 +7844,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha256_test(void)
78447844 testVector a, b, c, d, e;
78457845 testVector test_hmac[5];
78467846
7847- wc_test_ret_t ret;
7847+ wc_test_ret_t ret = WC_TEST_RET_ENC_NC ;
78487848 int times = sizeof(test_hmac) / sizeof(testVector), i;
78497849 WOLFSSL_ENTER("hmac_sha256_test");
78507850
@@ -8014,7 +8014,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha384_test(void)
80148014 testVector a, b, c, d;
80158015 testVector test_hmac[4];
80168016
8017- wc_test_ret_t ret;
8017+ wc_test_ret_t ret = WC_TEST_RET_ENC_NC ;
80188018 int times = sizeof(test_hmac) / sizeof(testVector), i;
80198019 WOLFSSL_ENTER("hmac_sha384_test");
80208020
@@ -8165,7 +8165,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha512_test(void)
81658165 testVector a, b, c, d;
81668166 testVector test_hmac[4];
81678167
8168- wc_test_ret_t ret;
8168+ wc_test_ret_t ret = WC_TEST_RET_ENC_NC ;
81698169 int times = sizeof(test_hmac) / sizeof(testVector), i;
81708170 WOLFSSL_ENTER("hmac_sha512_test");
81718171
@@ -8423,7 +8423,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t hmac_sha3_test(void)
84238423
84248424 int i = 0, iMax = sizeof(input) / sizeof(input[0]),
84258425 j, jMax = sizeof(hashType) / sizeof(hashType[0]);
8426- int ret;
8426+ wc_test_ret_t ret = WC_TEST_RET_ENC_NC ;
84278427 WOLFSSL_ENTER("hmac_sha3_test");
84288428
84298429 XMEMSET(&hmac, 0, sizeof(hmac));
0 commit comments