From e72040c1dcd61d6669762a60924b8fa3a48c37fc Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 13 Nov 2016 16:24:02 -0500 Subject: Remove heartbeat support Reviewed-by: Rich Salz Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/1669) --- ssl/statem/statem_dtls.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ssl/statem/statem_dtls.c') diff --git a/ssl/statem/statem_dtls.c b/ssl/statem/statem_dtls.c index 52e62a4..08937f5 100644 --- a/ssl/statem/statem_dtls.c +++ b/ssl/statem/statem_dtls.c @@ -919,13 +919,8 @@ int dtls1_read_failed(SSL *s, int code) */ return code; } -#ifndef OPENSSL_NO_HEARTBEATS - /* done, no need to send a retransmit */ - if (!SSL_in_init(s) && !s->tlsext_hb_pending) -#else /* done, no need to send a retransmit */ if (!SSL_in_init(s)) -#endif { BIO_set_flags(SSL_get_rbio(s), BIO_FLAGS_READ); return code; -- cgit v1.1