Skip to content

Commit

Permalink
Fix heartbeat compilation error
Browse files Browse the repository at this point in the history
Reviewed-by: Rich Salz <[email protected]>
  • Loading branch information
mattcaswell committed Sep 29, 2016
1 parent 150e298 commit 7507e73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ssl/t1_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7507e73

Please sign in to comment.