mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Merge pull request #2505 from dcooper16/fix2502_30
Fix #2502 in 3.0 branch
This commit is contained in:
commit
9c2bfff1bf
@ -12367,7 +12367,7 @@ parse_tls_serverhello() {
|
||||
tls_extensions+=" (id=51), len=$extension_len\n"
|
||||
fi
|
||||
if [[ "$process_full" =~ all ]] || [[ "$process_full" == ephemeralkey ]]; then
|
||||
if [[ $extension_len -lt 4 ]]; then
|
||||
if [[ $extension_len -lt 8 ]]; then
|
||||
debugme tmln_warning "Malformed key share extension."
|
||||
[[ $DEBUG -ge 1 ]] && tmpfile_handle ${FUNCNAME[0]}.txt
|
||||
return 1
|
||||
|
Loading…
Reference in New Issue
Block a user