This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mint/run/core/security/tls-tests.go b/mint/run/core/security/tls-tests.go | |
index cb059a76..950fb58c 100644 | |
--- a/mint/run/core/security/tls-tests.go | |
+++ b/mint/run/core/security/tls-tests.go | |
@@ -53,12 +53,16 @@ func main() { | |
testTLSEllipticCurves(endpoint) | |
} | |
-// Tests whether the endpoint accepts SSL3.0, TLS1.0 or TLS1.1 connections - fail if so. | |
-// Tests whether the endpoint accepts TLS1.2 connections - fail if not. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/nselib/tls.lua b/nselib/tls.lua | |
index e57a87f1e..a013bf653 100644 | |
--- a/nselib/tls.lua | |
+++ b/nselib/tls.lua | |
@@ -28,10 +28,11 @@ PROTOCOLS = { | |
["SSLv3"] = 0x0300, | |
["TLSv1.0"] = 0x0301, | |
["TLSv1.1"] = 0x0302, | |
- ["TLSv1.2"] = 0x0303 | |
+ ["TLSv1.2"] = 0x0303, |