Skip to content

Commit

Permalink
reverted xmemset changes already done
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan garske committed Nov 18, 2024
1 parent 337a342 commit 6625d90
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -7120,17 +7120,6 @@ 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 */

XMEMSET(server_side_msg1, 0, WC_MAX_DIGEST_SIZE);
XMEMSET(server_side_msg2, 0, WC_MAX_DIGEST_SIZE);
XMEMSET(client_side_msg1, 0, WC_MAX_DIGEST_SIZE);
XMEMSET(client_side_msg2, 0, WC_MAX_DIGEST_SIZE);
#endif /* WOLFSSL_HAVE_TLS_UNIQUE */

/* TODO: Expand and enable this when EVP_chacha20_poly1305 is supported */
#if defined(HAVE_SESSION_TICKET) && defined(OPENSSL_EXTRA) && \
Expand Down

0 comments on commit 6625d90

Please sign in to comment.