[openssl-commits] [openssl] OpenSSL_1_1_1-stable update

Richard Levitte levitte at openssl.org
Thu Nov 15 14:35:55 UTC 2018


The branch OpenSSL_1_1_1-stable has been updated
       via  b3393401faab5ce5631103f6938ef444c295d0d9 (commit)
      from  42acb69fd1fdab9099833c946171eefc9b86ecde (commit)


- Log -----------------------------------------------------------------
commit b3393401faab5ce5631103f6938ef444c295d0d9
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Nov 15 13:45:31 2018 +0100

    test/siphash_internal_test.c: ensure the SIPHASH structure is zeroed
    
    Fixes #7641
    
    [extended tests]
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/7642)
    
    (cherry picked from commit c7af8b0a267981c25cc42643493289a01ffe1bbd)

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

Summary of changes:
 test/siphash_internal_test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/siphash_internal_test.c b/test/siphash_internal_test.c
index dfdce48..ae9082b 100644
--- a/test/siphash_internal_test.c
+++ b/test/siphash_internal_test.c
@@ -169,7 +169,7 @@ static TESTDATA tests[] = {
 
 static int test_siphash(int idx)
 {
-    SIPHASH siphash;
+    SIPHASH siphash = { 0, };
     TESTDATA test = tests[idx];
     unsigned char key[SIPHASH_KEY_SIZE];
     unsigned char in[64];
@@ -257,7 +257,7 @@ static int test_siphash(int idx)
 
 static int test_siphash_basic(void)
 {
-    SIPHASH siphash;
+    SIPHASH siphash = { 0, };
     unsigned char key[SIPHASH_KEY_SIZE];
     unsigned char output[SIPHASH_MAX_DIGEST_SIZE];
 


More information about the openssl-commits mailing list