From a48eadbc22d3892481826e0b7dc4c7a5d2baad5c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 14 Feb 2018 17:37:41 +0100 Subject: tls: remove redundant floor prevention function old new delta tls_xread_record 499 489 -10 Signed-off-by: Denys Vlasenko --- 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", -- cgit v1.2.3