projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0b885f7
)
Fix broken change from b3d113e.
author
Pauli
<paul.dale@oracle.com>
Thu, 28 Mar 2019 23:24:07 +0000
(09:24 +1000)
committer
Pauli
<paul.dale@oracle.com>
Thu, 28 Mar 2019 23:24:07 +0000
(09:24 +1000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8606)
crypto/rand/rand_lib.c
patch
|
blob
|
history
diff --git
a/crypto/rand/rand_lib.c
b/crypto/rand/rand_lib.c
index 23abbde1568059e7421a19be764710b53ce17af4..a298b7515be2225eb0a73a0ec64db96a80afe8e6 100644
(file)
--- a/
crypto/rand/rand_lib.c
+++ b/
crypto/rand/rand_lib.c
@@
-235,8
+235,9
@@
size_t rand_drbg_get_nonce(RAND_DRBG *drbg,
struct {
void * instance;
int count;
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;
pool = rand_pool_new(0, min_len, max_len);
if (pool == NULL)
return 0;