From 9db7ba2f0df1c9de5da6b6f479fedb81a250a90a Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 7 Aug 2018 11:18:29 -0700 Subject: [PATCH] Fix for cast mismatch and spelling of state. --- wolfcrypt/src/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 wolfcrypt/src/random.c diff --git a/wolfcrypt/src/random.c b/wolfcrypt/src/random.c old mode 100644 new mode 100755 index 73fcb38e2..54097f758 --- a/wolfcrypt/src/random.c +++ b/wolfcrypt/src/random.c @@ -859,7 +859,7 @@ int wc_RNG_HealthTest_ex(int reseed, const byte* nonce, word32 nonceSz, } #ifdef WOLFSSL_SMALL_STACK - drbg = (struct DRBG*)XMALLOC(sizeof(DRBG), NULL, DYNAMIC_TYPE_RNG); + drbg = (DRBG*)XMALLOC(sizeof(DRBG), NULL, DYNAMIC_TYPE_RNG); if (drbg == NULL) { return MEMORY_E; }