From 9ac6244b575486dcdbd600c36da78776fde32e11 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 20 Jan 2017 13:50:47 +0000 Subject: [PATCH] Ensure the age_add variable is properly initialised Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2259) --- ssl/statem/statem_clnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index 3695c7568c..cd871940ee 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -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; -- 2.25.1