From 9d4f7977c039d4e77fb3887ce82a53467df98895 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Tue, 9 Apr 2019 18:45:12 +0200 Subject: [PATCH] Fix possible compression method misinterpretation ... introduced in 742e01e7cd304e0b0302c1325399b39a5ed70c3e Kudos @dcooper16 --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 67c4781..d4ccb3f 100755 --- a/testssl.sh +++ b/testssl.sh @@ -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