summaryrefslogtreecommitdiff
path: root/lib/libssl/s3_clnt.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-04-14 18:45:56 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-04-14 18:45:56 +0000
commit18604be7334b9e04f947b868c48a75d2d19838a1 (patch)
tree5b920e8c9d963bedcea2ef81593d89a45fd3c19a /lib/libssl/s3_clnt.c
parent5e4cc4f5afab1ce2cfec57ea66c6edd77dd09d1c (diff)
make OPENSSL_NO_HEARTBLEED the default and only option. ok deraadt miod
Diffstat (limited to 'lib/libssl/s3_clnt.c')
-rw-r--r--lib/libssl/s3_clnt.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/libssl/s3_clnt.c b/lib/libssl/s3_clnt.c
index 4ad8d3943ef..c1460266fe4 100644
--- a/lib/libssl/s3_clnt.c
+++ b/lib/libssl/s3_clnt.c
@@ -202,17 +202,6 @@ ssl3_connect(SSL *s)
if (!SSL_in_init(s) || SSL_in_before(s))
SSL_clear(s);
-#ifndef OPENSSL_NO_HEARTBEATS
- /* If we're awaiting a HeartbeatResponse, pretend we
- * already got and don't await it anymore, because
- * Heartbeats don't make sense during handshakes anyway.
- */
- if (s->tlsext_hb_pending) {
- s->tlsext_hb_pending = 0;
- s->tlsext_hb_seq++;
- }
-#endif
-
for (;;) {
state = s->state;