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:
23373fe
)
Fix broken change from b3d113e.
author
Pauli
<paul.dale@oracle.com>
Thu, 28 Mar 2019 23:24:07 +0000
(09:24 +1000)
committer
Tomas Mraz
<tmraz@fedoraproject.org>
Thu, 30 May 2019 09:47:59 +0000
(11:47 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8606)
(cherry picked from commit
711a161f03ef9ed7cd149a22bf1203700c103e96
)
crypto/rand/rand_lib.c
patch
|
blob
|
history
diff --git
a/crypto/rand/rand_lib.c
b/crypto/rand/rand_lib.c
index 108b4f51634d25679a421551c8a3ccd1220ae886..b6663816fea3102bbfaa9bb996f94a2c1729f955 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;
- } data
= { NULL, 0 }
;
+ } data;
+ memset(&data, 0, sizeof(data));
pool = rand_pool_new(0, min_len, max_len);
if (pool == NULL)
return 0;