From 197ce3344d4c7672f11a270850397bc808c7ca2e Mon Sep 17 00:00:00 2001 From: Wikinaut Date: Tue, 8 Apr 2014 18:35:19 +0200 Subject: [PATCH] chgtxt "handshare failure" or TLS ext. unsupported alertHandshakeFailure: "handshake failure. This could mean that the TLS extension is not supported.", I haven't tested this code change yet, but I do see "handshake failure" for servers which do not offer TLS, so the text should inform about this possibility. --- tls/alert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tls/alert.go b/tls/alert.go index 0856311..e5cebdf 100644 --- a/tls/alert.go +++ b/tls/alert.go @@ -46,7 +46,7 @@ var alertText = map[alert]string{ alertDecryptionFailed: "decryption failed", alertRecordOverflow: "record overflow", alertDecompressionFailure: "decompression failure", - alertHandshakeFailure: "handshake failure", + alertHandshakeFailure: "handshake failure. This could mean that the TLS extension is not supported.", alertBadCertificate: "bad certificate", alertUnsupportedCertificate: "unsupported certificate", alertCertificateRevoked: "revoked certificate",