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