Fix broken change from b3d113e
.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8606)
(cherry picked from commit 711a161f03
)
This commit is contained in:
parent
23373fea19
commit
15d7e7997e
1 changed files with 2 additions and 1 deletions
|
@ -235,8 +235,9 @@ size_t rand_drbg_get_nonce(RAND_DRBG *drbg,
|
|||
struct {
|
||||
void * instance;
|
||||
int count;
|
||||
} data = { NULL, 0 };
|
||||
} data;
|
||||
|
||||
memset(&data, 0, sizeof(data));
|
||||
pool = rand_pool_new(0, min_len, max_len);
|
||||
if (pool == NULL)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue