[openssl] OpenSSL_1_1_1-stable update

tmraz at fedoraproject.org tmraz at fedoraproject.org
Thu May 30 09:49:14 UTC 2019


The branch OpenSSL_1_1_1-stable has been updated
       via  15d7e7997e219fc5fef3f6003cc6bd7b2e7379d4 (commit)
      from  23373fea190e7e2f4342d9656afdbcf909600445 (commit)


- Log -----------------------------------------------------------------
commit 15d7e7997e219fc5fef3f6003cc6bd7b2e7379d4
Author: Pauli <paul.dale at oracle.com>
Date:   Fri Mar 29 09:24:07 2019 +1000

    Fix broken change from b3d113e.
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/8606)
    
    (cherry picked from commit 711a161f03ef9ed7cd149a22bf1203700c103e96)

-----------------------------------------------------------------------

Summary of changes:
 crypto/rand/rand_lib.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 108b4f5..b666381 100644
--- 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;


More information about the openssl-commits mailing list