mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #8989 from rlm2002/zd20212
xmemset rng before test runs
This commit is contained in:
@ -35305,6 +35305,8 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t ecc_test_buffers(void)
|
||||
word32 x;
|
||||
WOLFSSL_ENTER("ecc_test_buffers");
|
||||
|
||||
XMEMSET(&rng, 0, sizeof(WC_RNG));
|
||||
|
||||
#if defined(WOLFSSL_SMALL_STACK) && !defined(WOLFSSL_NO_MALLOC)
|
||||
if ((cliKey == NULL) || (servKey == NULL) || (tmpKey == NULL))
|
||||
ERROR_OUT(MEMORY_E, done);
|
||||
|
Reference in New Issue
Block a user