Ensure the age_add variable is properly initialised
[openssl.git] / ssl / statem / statem_clnt.c
index 3695c7568c4cc99e3c140923aff361635c8bef38..cd871940ee871c9c9846e25f455ef8959c2c9d02 100644 (file)
@@ -2212,7 +2212,7 @@ MSG_PROCESS_RETURN tls_process_new_session_ticket(SSL *s, PACKET *pkt)
 {
     int al;
     unsigned int ticklen;
-    unsigned long ticket_lifetime_hint, age_add;
+    unsigned long ticket_lifetime_hint, age_add = 0;
     unsigned int sess_len;
     RAW_EXTENSION *exts = NULL;