Skip to content

Instantly share code, notes, and snippets.

View jeremie1112's full-sized avatar

Daniel Jeremie jeremie1112

View GitHub Profile
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.
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,