mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	Fix possible compression method misinterpretation
... introduced in 742e01e7cd
Kudos @dcooper16
			
			
This commit is contained in:
		| @@ -11565,7 +11565,7 @@ parse_tls_serverhello() { | |||||||
|      tls_cipher_suite="${tls_serverhello_ascii:offset:4}" |      tls_cipher_suite="${tls_serverhello_ascii:offset:4}" | ||||||
|  |  | ||||||
|      if [[ "0x${DETECTED_TLS_VERSION:2:2}" -le "0x03" ]]; then |      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}" |           tls_compression_method="${tls_serverhello_ascii:offset:2}" | ||||||
|           extns_offset=$((tls_sid_len+76)) |           extns_offset=$((tls_sid_len+76)) | ||||||
|      else |      else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter