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/s3_pkt.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/s3_pkt.c')
-rw-r--r-- | src/lib/libssl/s3_pkt.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/libssl/s3_pkt.c b/src/lib/libssl/s3_pkt.c index 6c677d9f6b..70e6acad4f 100644 --- a/src/lib/libssl/s3_pkt.c +++ b/src/lib/libssl/s3_pkt.c | |||
@@ -1022,19 +1022,6 @@ start: | |||
1022 | dest = s->s3->alert_fragment; | 1022 | dest = s->s3->alert_fragment; |
1023 | dest_len = &s->s3->alert_fragment_len; | 1023 | dest_len = &s->s3->alert_fragment_len; |
1024 | } | 1024 | } |
1025 | #ifndef OPENSSL_NO_HEARTBEATS | ||
1026 | else if (rr->type == TLS1_RT_HEARTBEAT) { | ||
1027 | tls1_process_heartbeat(s); | ||
1028 | |||
1029 | /* Exit and notify application to read again */ | ||
1030 | rr->length = 0; | ||
1031 | s->rwstate = SSL_READING; | ||
1032 | BIO_clear_retry_flags(SSL_get_rbio(s)); | ||
1033 | BIO_set_retry_read(SSL_get_rbio(s)); | ||
1034 | return (-1); | ||
1035 | } | ||
1036 | #endif | ||
1037 | |||
1038 | if (dest_maxlen > 0) { | 1025 | if (dest_maxlen > 0) { |
1039 | n = dest_maxlen - *dest_len; /* available space in 'dest' */ | 1026 | n = dest_maxlen - *dest_len; /* available space in 'dest' */ |
1040 | if (rr->length < n) | 1027 | if (rr->length < n) |