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