Skip to content

Commit 1c39cf4

Browse files
committed
Fix from review
1 parent e7697d7 commit 1c39cf4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/api/test_hmac.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ int test_tls_hmac_size_overflow(void)
698698
{
699699
EXPECT_DECLS;
700700
#if !defined(NO_HMAC) && !defined(WOLFSSL_AEAD_ONLY) && !defined(NO_TLS) && \
701-
defined(NO_OLD_TLS)
701+
defined(NO_OLD_TLS) && !defined(NO_WOLFSSL_CLIENT)
702702
WOLFSSL_CTX* ctx = NULL;
703703
WOLFSSL* ssl = NULL;
704704
byte digest[WC_MAX_DIGEST_SIZE];
@@ -749,7 +749,8 @@ int test_tls_hmac_size_overflow(void)
749749

750750
wolfSSL_free(ssl);
751751
wolfSSL_CTX_free(ctx);
752-
#endif /* !NO_HMAC && !WOLFSSL_AEAD_ONLY && !NO_TLS && NO_OLD_TLS */
752+
#endif /* !NO_HMAC && !WOLFSSL_AEAD_ONLY && !NO_TLS && NO_OLD_TLS &&
753+
* !NO_WOLFSSL_CLIENT */
753754
return EXPECT_RESULT();
754755
} /* END test_tls_hmac_size_overflow */
755756

0 commit comments

Comments
 (0)