diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_srvr.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index 164fcfbf1f..47a0c0e2a2 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c | |||
| @@ -185,18 +185,6 @@ dtls1_accept(SSL *s) | |||
| 185 | return (-1); | 185 | return (-1); |
| 186 | } | 186 | } |
| 187 | 187 | ||
| 188 | #ifndef OPENSSL_NO_HEARTBEATS | ||
| 189 | /* If we're awaiting a HeartbeatResponse, pretend we | ||
| 190 | * already got and don't await it anymore, because | ||
| 191 | * Heartbeats don't make sense during handshakes anyway. | ||
| 192 | */ | ||
| 193 | if (s->tlsext_hb_pending) { | ||
| 194 | dtls1_stop_timer(s); | ||
| 195 | s->tlsext_hb_pending = 0; | ||
| 196 | s->tlsext_hb_seq++; | ||
| 197 | } | ||
| 198 | #endif | ||
| 199 | |||
| 200 | for (;;) { | 188 | for (;;) { |
| 201 | state = s->state; | 189 | state = s->state; |
| 202 | 190 | ||
