We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97bf5fb commit 7ae7d9fCopy full SHA for 7ae7d9f
1 file changed
tests/api/test_hmac.c
@@ -697,7 +697,8 @@ int test_wc_Sha384HmacFinal(void)
697
int test_tls_hmac_size_overflow(void)
698
{
699
EXPECT_DECLS;
700
-#if !defined(NO_HMAC) && !defined(WOLFSSL_AEAD_ONLY) && !defined(NO_TLS)
+#if !defined(NO_HMAC) && !defined(WOLFSSL_AEAD_ONLY) && !defined(NO_TLS) && \
701
+ defined(NO_OLD_TLS)
702
WOLFSSL_CTX* ctx = NULL;
703
WOLFSSL* ssl = NULL;
704
byte digest[WC_MAX_DIGEST_SIZE];
@@ -748,7 +749,7 @@ int test_tls_hmac_size_overflow(void)
748
749
750
wolfSSL_free(ssl);
751
wolfSSL_CTX_free(ctx);
-#endif /* !NO_HMAC && !WOLFSSL_AEAD_ONLY && !NO_TLS */
752
+#endif /* !NO_HMAC && !WOLFSSL_AEAD_ONLY && !NO_TLS && NO_OLD_TLS */
753
return EXPECT_RESULT();
754
} /* END test_tls_hmac_size_overflow */
755
0 commit comments