[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Rich Salz rsalz at openssl.org
Fri Aug 3 22:03:38 UTC 2018


The branch OpenSSL_1_1_0-stable has been updated
       via  e0a79ae63700051ddab9e091031dd37ae18182a5 (commit)
      from  c700d1fe090acf3661d3948c25f489803f50a98b (commit)


- Log -----------------------------------------------------------------
commit e0a79ae63700051ddab9e091031dd37ae18182a5
Author: Rich Salz <rsalz at openssl.org>
Date:   Fri Aug 3 18:03:22 2018 -0400

    Use auto-null-initializer
    
    Thanks to GitHub user YuDudysheva for reporting this.
    
    Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
    (Merged from https://github.com/openssl/openssl/pull/6853)

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

Summary of changes:
 ssl/ssl_ciph.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
index 7a393cb..b8da982 100644
--- a/ssl/ssl_ciph.c
+++ b/ssl/ssl_ciph.c
@@ -101,10 +101,7 @@ static const ssl_cipher_table ssl_cipher_table_cipher[SSL_ENC_NUM_IDX] = {
     {SSL_CHACHA20POLY1305, NID_chacha20_poly1305},
 };
 
-static const EVP_CIPHER *ssl_cipher_methods[SSL_ENC_NUM_IDX] = {
-    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-    NULL, NULL
-};
+static const EVP_CIPHER *ssl_cipher_methods[SSL_ENC_NUM_IDX];
 
 #define SSL_COMP_NULL_IDX       0
 #define SSL_COMP_ZLIB_IDX       1


More information about the openssl-commits mailing list