Skip to content

Commit

Permalink
Merge pull request #2505 from dcooper16/fix2502_30
Browse files Browse the repository at this point in the history
Fix #2502 in 3.0 branch
  • Loading branch information
drwetter authored Jun 13, 2024
2 parents 212bdbb + acdbdcf commit 9c2bfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c2bfff

Please sign in to comment.