Fix a travis failure
authorMatt Caswell <matt@openssl.org>
Thu, 8 Dec 2016 09:48:29 +0000 (09:48 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Dec 2016 17:21:41 +0000 (17:21 +0000)
Travis was indicating a bogus uninit var warning. This fixes it.

Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
Salz

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/statem/statem_clnt.c

index 18430ea..35ca8de 100644 (file)
@@ -1110,6 +1110,7 @@ MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt)
             goto f_err;
         }
     } else {
+        PACKET_null_init(&session_id);
         session_id_len = 0;
     }