diff options
author | tedu <> | 2014-04-14 18:45:55 +0000 |
---|---|---|
committer | tedu <> | 2014-04-14 18:45:55 +0000 |
commit | 95635d69892027aae43126c720bdf465c55b75b4 (patch) | |
tree | cf54816807c3e7c50d1a7df6ceac26ecda2c9f53 /src/lib/libssl/d1_srvr.c | |
parent | 4de5e966312f32adfcbfa844e67772602bb18ed6 (diff) | |
download | openbsd-95635d69892027aae43126c720bdf465c55b75b4.tar.gz openbsd-95635d69892027aae43126c720bdf465c55b75b4.tar.bz2 openbsd-95635d69892027aae43126c720bdf465c55b75b4.zip |
make OPENSSL_NO_HEARTBLEED the default and only option. ok deraadt miod
Diffstat (limited to 'src/lib/libssl/d1_srvr.c')
-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 | ||