From: Matt Caswell Date: Fri, 3 Mar 2017 00:03:47 +0000 (+0000) Subject: Silence some more clang warnings X-Git-Tag: OpenSSL_1_1_1-pre1~2126 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=42f50fdf8aaff297742f0b541408a89e33e31c6e Silence some more clang warnings Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/2832) --- diff --git a/ssl/tls13_enc.c b/ssl/tls13_enc.c index 47d23bd365..9fdd61e8c7 100644 --- a/ssl/tls13_enc.c +++ b/ssl/tls13_enc.c @@ -343,8 +343,8 @@ int tls13_change_cipher_state(SSL *s, int which) const unsigned char *label; size_t labellen, hashlen = 0; int ret = 0; - const EVP_MD *md; - const EVP_CIPHER *cipher; + const EVP_MD *md = NULL; + const EVP_CIPHER *cipher = NULL; if (which & SSL3_CC_READ) { if (s->enc_read_ctx != NULL) {