From 95635d69892027aae43126c720bdf465c55b75b4 Mon Sep 17 00:00:00 2001 From: tedu <> Date: Mon, 14 Apr 2014 18:45:55 +0000 Subject: make OPENSSL_NO_HEARTBLEED the default and only option. ok deraadt miod --- src/lib/libssl/d1_pkt.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/lib/libssl/d1_pkt.c') diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index 30fe8460fb..830dc2d2d0 100644 --- a/src/lib/libssl/d1_pkt.c +++ b/src/lib/libssl/d1_pkt.c @@ -937,18 +937,6 @@ start: dest = s->d1->alert_fragment; dest_len = &s->d1->alert_fragment_len; } -#ifndef OPENSSL_NO_HEARTBEATS - else if (rr->type == TLS1_RT_HEARTBEAT) { - dtls1_process_heartbeat(s); - - /* Exit and notify application to read again */ - rr->length = 0; - s->rwstate = SSL_READING; - BIO_clear_retry_flags(SSL_get_rbio(s)); - BIO_set_retry_read(SSL_get_rbio(s)); - return (-1); - } -#endif /* else it's a CCS message, or application data or wrong */ else if (rr->type != SSL3_RT_CHANGE_CIPHER_SPEC) { /* Application data while renegotiating -- cgit v1.2.3-55-g6feb