From: Matt Caswell Date: Fri, 20 Jan 2017 13:50:47 +0000 (+0000) Subject: Ensure the age_add variable is properly initialised X-Git-Tag: OpenSSL_1_1_1-pre1~2552 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=9ac6244b575486dcdbd600c36da78776fde32e11;hp=79495812fbf7804609157510657fae4a11fec0b7;ds=sidebyside Ensure the age_add variable is properly initialised Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2259) --- 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;