[git commit] tls: remove redundant floor prevention
Denys Vlasenko
vda.linux at googlemail.com
Wed Feb 14 16:37:41 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=a48eadbc22d3892481826e0b7dc4c7a5d2baad5c
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
function old new delta
tls_xread_record 499 489 -10
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/tls.c | 2 --
1 file changed, 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",
More information about the busybox-cvs
mailing list