mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 00:39:44 +01:00
Merge pull request #1617 from dcooper16/backport_1609_and_1616
Backport #1609 and #1616
This commit is contained in:
commit
f49d73498a
@ -11738,11 +11738,12 @@ parse_tls_serverhello() {
|
||||
[[ $DEBUG -ge 1 ]] && tmpfile_handle ${FUNCNAME[0]}.txt
|
||||
return 3
|
||||
fi
|
||||
elif [[ $tls_content_type != 14 ]] && [[ $tls_content_type != 15 ]] && \
|
||||
fi
|
||||
if [[ $tls_content_type != 14 ]] && [[ $tls_content_type != 15 ]] && \
|
||||
[[ $tls_content_type != 16 ]] && [[ $tls_content_type != 17 ]]; then
|
||||
debugme tmln_warning "Content type other than alert, handshake, change cipher spec, or application data detected."
|
||||
[[ $DEBUG -ge 1 ]] && tmpfile_handle ${FUNCNAME[0]}.txt
|
||||
return 8
|
||||
return 1
|
||||
elif [[ "${tls_protocol:0:2}" != 03 ]]; then
|
||||
debugme tmln_warning "Protocol record_version.major is not 03."
|
||||
[[ $DEBUG -ge 1 ]] && tmpfile_handle ${FUNCNAME[0]}.txt
|
||||
|
Loading…
Reference in New Issue
Block a user