1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-21 06:59:01 +00:00

Use default EC curves instead of all throughout.

This commit is contained in:
dmiller
2017-10-31 04:26:59 +00:00
parent 091fd560f9
commit 41199b7eea
5 changed files with 10 additions and 21 deletions

View File

@@ -120,12 +120,9 @@ local function test_ccs_injection(host, port, version)
["ciphers"] = stdnse.keys(tls.CIPHERS),
["compressors"] = {"NULL"},
["extensions"] = {
-- Claim to support every elliptic curve
-- Claim to support common elliptic curves
["elliptic_curves"] = tls.EXTENSION_HELPERS["elliptic_curves"](
stdnse.keys(tls.ELLIPTIC_CURVES)),
-- Claim to support every EC point format
["ec_point_formats"] = tls.EXTENSION_HELPERS["ec_point_formats"](
stdnse.keys(tls.EC_POINT_FORMATS)),
tls.DEFAULT_ELLIPTIC_CURVES),
},
})