From: Matt Caswell Date: Wed, 28 Sep 2016 11:03:30 +0000 (+0100) Subject: Fix heartbeat compilation error X-Git-Tag: OpenSSL_1_1_1-pre1~3436 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=7507e73d409b8f3046d6efcc3f4c0b6208b59b64 Fix heartbeat compilation error Reviewed-by: Rich Salz --- 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