Skip to content

Commit e65647f

Browse files
committed
xmemset rng before test runs
1 parent ae48ee4 commit e65647f

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)