From 43cea3e964bc9dab6a2efc4ab1ef020a0b98e6ad Mon Sep 17 00:00:00 2001 From: aidan garske Date: Mon, 18 Nov 2024 14:27:33 -0800 Subject: [PATCH] fix xmemset --- tests/api.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/api.c b/tests/api.c index 985579fe00..b353a6a827 100644 --- a/tests/api.c +++ b/tests/api.c @@ -7120,6 +7120,12 @@ static int test_wolfSSL_EVP_CIPHER_CTX(void) #if defined(HAVE_SSL_MEMIO_TESTS_DEPENDENCIES) || \ defined(HAVE_IO_TESTS_DEPENDENCIES) +#ifdef WOLFSSL_HAVE_TLS_UNIQUE + byte server_side_msg1[WC_MAX_DIGEST_SIZE]; /* msg sent by server */ + byte server_side_msg2[WC_MAX_DIGEST_SIZE]; /* msg received from client */ + byte client_side_msg1[WC_MAX_DIGEST_SIZE]; /* msg sent by client */ + byte client_side_msg2[WC_MAX_DIGEST_SIZE]; /* msg received from server */ +#endif /* WOLFSSL_HAVE_TLS_UNIQUE */ /* TODO: Expand and enable this when EVP_chacha20_poly1305 is supported */ #if defined(HAVE_SESSION_TICKET) && defined(OPENSSL_EXTRA) && \