Skip to content

Commit f7e7e20

Browse files
authored
Merge pull request nabla-c0d3#634 from FestiveKyle/add-invalid-encoding-error-message
Add "invalid encoding" error message
2 parents 6dd2d5a + 25cdffd commit f7e7e20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sslyze/connection_helpers/tls_connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def _open_socket(server_location: ServerNetworkLocation, network_timeout: int) -
126126
# Error returned by OpenSSL when the server didn't return a certificate that can work with the cipher suites
127127
# enabled in the client; for example client only supports EC cipher suites but server returned an RSA certificate
128128
"wrong certificate type": "Server returned wrong certificate type",
129+
"invalid encoding": "TLS error: Invalid encoding",
129130
}
130131

131132

0 commit comments

Comments
 (0)