1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-15 10:11:57 +02:00

Merge pull request from dcooper16/fix2502

Fix 
This commit is contained in:
Dirk Wetter
2024-06-13 16:13:55 +02:00
committed by GitHub

@ -14455,7 +14455,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