mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-05 02:16:49 +00:00
tls: remove redundant floor prevention
function old new delta tls_xread_record 499 489 -10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
256adb0f99
commit
a48eadbc22
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user