diff options
author | Rich Salz <rsalz@openssl.org> | 2018-08-03 18:03:22 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-08-03 18:03:22 -0400 |
commit | e0a79ae63700051ddab9e091031dd37ae18182a5 (patch) | |
tree | e53fac52aa72302633a7f58018c9432f355eaec9 | |
parent | c700d1fe090acf3661d3948c25f489803f50a98b (diff) |
Use auto-null-initializer
Thanks to GitHub user YuDudysheva for reporting this.
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/6853)
-rw-r--r-- | ssl/ssl_ciph.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 7a393cbe80..b8da982105 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 |