Fix a bogus uninit var warning
authorMatt Caswell <matt@openssl.org>
Thu, 24 Nov 2016 09:22:49 +0000 (09:22 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 24 Nov 2016 18:02:43 +0000 (18:02 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/tls13_enc.c

index b5306eb..698b9be 100644 (file)
@@ -290,7 +290,7 @@ int tls13_change_cipher_state(SSL *s, int which)
     unsigned char *finsecret = NULL;
     EVP_CIPHER_CTX *ciph_ctx;
     const EVP_CIPHER *ciph = s->s3->tmp.new_sym_enc;
-    size_t ivlen, keylen, finsecretlen;
+    size_t ivlen, keylen, finsecretlen = 0;
     const unsigned char *label;
     size_t labellen;
     int ret = 0;