aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-02-14 17:37:41 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-02-14 17:37:41 +0100
commita48eadbc22d3892481826e0b7dc4c7a5d2baad5c (patch)
tree95ef24a5b4d490e3bcacb78fd7cbe37c079bb90e /networking
parent256adb0f99ab3485b4c9243a76dc0df1738f08b1 (diff)
downloadbusybox-a48eadbc22d3892481826e0b7dc4c7a5d2baad5c.tar.gz
tls: remove redundant floor prevention
function old new delta tls_xread_record 499 489 -10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/tls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/networking/tls.c b/networking/tls.c
index da7b6058f..99722cfb4 100644
--- a/networking/tls.c
+++ b/networking/tls.c
@@ -806,8 +806,6 @@ static int tls_xread_record(tls_state_t *tls, const char *expected)
|| xhdr->proto_min != TLS_MIN
) {
sz = total < target ? total : target;
- if (sz > 24)
- sz = 24; /* don't flood */
bad_record_die(tls, expected, sz);
}
dbg("xhdr type:%d ver:%d.%d len:%d\n",