diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_clnt.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/libssl/d1_clnt.c b/src/lib/libssl/d1_clnt.c index 4c6aac7536..1b7cbaec15 100644 --- a/src/lib/libssl/d1_clnt.c +++ b/src/lib/libssl/d1_clnt.c | |||
| @@ -176,18 +176,6 @@ dtls1_connect(SSL *s) | |||
| 176 | s->in_handshake, NULL); | 176 | s->in_handshake, NULL); |
| 177 | #endif | 177 | #endif |
| 178 | 178 | ||
| 179 | #ifndef OPENSSL_NO_HEARTBEATS | ||
| 180 | /* If we're awaiting a HeartbeatResponse, pretend we | ||
| 181 | * already got and don't await it anymore, because | ||
| 182 | * Heartbeats don't make sense during handshakes anyway. | ||
| 183 | */ | ||
| 184 | if (s->tlsext_hb_pending) { | ||
| 185 | dtls1_stop_timer(s); | ||
| 186 | s->tlsext_hb_pending = 0; | ||
| 187 | s->tlsext_hb_seq++; | ||
| 188 | } | ||
| 189 | #endif | ||
| 190 | |||
| 191 | for (;;) { | 179 | for (;;) { |
| 192 | state = s->state; | 180 | state = s->state; |
| 193 | 181 | ||
