mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-05 16:29:45 +01:00
Fix possible compression method misinterpretation
... introduced in 742e01e7cd
Kudos @dcooper16
This commit is contained in:
parent
ef63fd6a18
commit
9d4f7977c0
@ -11565,7 +11565,7 @@ parse_tls_serverhello() {
|
||||
tls_cipher_suite="${tls_serverhello_ascii:offset:4}"
|
||||
|
||||
if [[ "0x${DETECTED_TLS_VERSION:2:2}" -le "0x03" ]]; then
|
||||
offset=$((tls_sid_len+78))
|
||||
offset=$((tls_sid_len+74))
|
||||
tls_compression_method="${tls_serverhello_ascii:offset:2}"
|
||||
extns_offset=$((tls_sid_len+76))
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user