projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
256adb0
)
tls: remove redundant floor prevention
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 14 Feb 2018 16:37:41 +0000
(17:37 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 14 Feb 2018 16:37:41 +0000
(17:37 +0100)
function old new delta
tls_xread_record 499 489 -10
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tls.c
patch
|
blob
|
history
diff --git
a/networking/tls.c
b/networking/tls.c
index da7b6058fde4af5ed2010b54f0f44ef6d7370b72..99722cfb427917f528b65017d28f626670b486dd 100644
(file)
--- 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",