Silence some more clang warnings
authorMatt Caswell <matt@openssl.org>
Fri, 3 Mar 2017 00:03:47 +0000 (00:03 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 3 Mar 2017 00:05:57 +0000 (00:05 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2832)

ssl/tls13_enc.c

index 47d23bd365fb5577c21c69317a23b37fa74bd9dd..9fdd61e8c785612cc3e76d3a3a98db8714432918 100644 (file)
@@ -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) {