Merge pull request #1609 from dcooper16/check_server_response

Check server's response
This commit is contained in:
Dirk Wetter 2020-05-04 21:35:50 +02:00 committed by GitHub
commit 1a0ade585e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12795,7 +12795,8 @@ 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