summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-09-28 12:03:30 +0100
committerMatt Caswell <matt@openssl.org>2016-09-29 10:06:46 +0100
commit7507e73d409b8f3046d6efcc3f4c0b6208b59b64 (patch)
treea6f035b450e81339e3b3ecbcc105bd32acb5c620 /ssl
parent150e298551a6788baac56c0c89dc8b8342ac0079 (diff)
Fix heartbeat compilation error
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_lib.c1
1 files changed, 1 insertions, 0 deletions
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