Skip to content

Commit 70bdd9f

Browse files
authored
Merge pull request wolfSSL#8989 from rlm2002/zd20212
xmemset rng before test runs
2 parents 388eea3 + e65647f commit 70bdd9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wolfcrypt/test/test.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35305,6 +35305,8 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t ecc_test_buffers(void)
3530535305
word32 x;
3530635306
WOLFSSL_ENTER("ecc_test_buffers");
3530735307

35308+
XMEMSET(&rng, 0, sizeof(WC_RNG));
35309+
3530835310
#if defined(WOLFSSL_SMALL_STACK) && !defined(WOLFSSL_NO_MALLOC)
3530935311
if ((cliKey == NULL) || (servKey == NULL) || (tmpKey == NULL))
3531035312
ERROR_OUT(MEMORY_E, done);

0 commit comments

Comments
 (0)