summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_pkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_pkt.c')
-rw-r--r--src/lib/libssl/d1_pkt.c12
1 files changed, 0 insertions, 12 deletions
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:
937 dest = s->d1->alert_fragment; 937 dest = s->d1->alert_fragment;
938 dest_len = &s->d1->alert_fragment_len; 938 dest_len = &s->d1->alert_fragment_len;
939 } 939 }
940#ifndef OPENSSL_NO_HEARTBEATS
941 else if (rr->type == TLS1_RT_HEARTBEAT) {
942 dtls1_process_heartbeat(s);
943
944 /* Exit and notify application to read again */
945 rr->length = 0;
946 s->rwstate = SSL_READING;
947 BIO_clear_retry_flags(SSL_get_rbio(s));
948 BIO_set_retry_read(SSL_get_rbio(s));
949 return (-1);
950 }
951#endif
952 /* else it's a CCS message, or application data or wrong */ 940 /* else it's a CCS message, or application data or wrong */
953 else if (rr->type != SSL3_RT_CHANGE_CIPHER_SPEC) { 941 else if (rr->type != SSL3_RT_CHANGE_CIPHER_SPEC) {
954 /* Application data while renegotiating 942 /* Application data while renegotiating