From 7507e73d409b8f3046d6efcc3f4c0b6208b59b64 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 28 Sep 2016 12:03:30 +0100 Subject: [PATCH] Fix heartbeat compilation error Reviewed-by: Rich Salz --- ssl/t1_lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 0a73eed434..501bf24fb1 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -1505,6 +1505,7 @@ int ssl_add_serverhello_tlsext(SSL *s, WPACKET *pkt, int *al) #ifndef OPENSSL_NO_HEARTBEATS /* Add Heartbeat extension if we've received one */ if (SSL_IS_DTLS(s) && (s->tlsext_heartbeat & SSL_DTLSEXT_HB_ENABLED)) { + unsigned int mode; /*- * Set mode: * 1: peer may send requests -- 2.25.1