mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 03:11:48 +00:00
Obey TLSv1.2 RFC regarding anonymous signature type
This commit is contained in:
parent
170a45f21d
commit
ab5b346352
1 changed files with 6 additions and 1 deletions
|
|
@ -1264,7 +1264,12 @@ do
|
|||
local sigalgs = {}
|
||||
for hash, _ in pairs(HashAlgorithms) do
|
||||
for sig, _ in pairs(SignatureAlgorithms) do
|
||||
sigalgs[#sigalgs+1] = {hash, sig}
|
||||
-- RFC 5246 7.4.1.4.1.
|
||||
-- The "anonymous" value is meaningless in this context but used in
|
||||
-- Section 7.4.3. It MUST NOT appear in this extension.
|
||||
if sig ~= "anonymous" then
|
||||
sigalgs[#sigalgs+1] = {hash, sig}
|
||||
end
|
||||
end
|
||||
end
|
||||
signature_algorithms_all = EXTENSION_HELPERS["signature_algorithms"](sigalgs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue