1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-14 18:39:03 +00:00

Missed a call to server_key_exchange that also needed protocol

This commit is contained in:
dmiller
2016-08-31 02:32:26 +00:00
parent 1bbd6c8e90
commit dbc995b883
2 changed files with 4 additions and 4 deletions

View File

@@ -5,9 +5,9 @@ o [NSE] Added 9 new fingerprints for script http-default-accounts.
Schneider controller, Xerox printer, Citrix NetScaler, ESXi hypervisor)
[nnposter]
o [NSE] Fixed a bug in ssl-enum-ciphers which caused it to not output TLSv1.2
info with DHE ciphersuites or others involving ServerKeyExchange messages.
[Daniel Miller]
o [NSE] Fixed a bug in ssl-enum-ciphers and ssl-dh-params which caused them to
not output TLSv1.2 info with DHE ciphersuites or others involving
ServerKeyExchange messages. [Daniel Miller]
o [NSE] Added oracle-tns-version to decode the version number from Oracle
Database Server's TNS listener. [Daniel Miller]

View File

@@ -672,7 +672,7 @@ local function get_dhe_params(host, port, protocol, ciphers)
-- Only try next chunk if current chunk was rejected
if cipher and packed then
local info = tls.cipher_info(cipher)
local data = tls.KEX_ALGORITHMS[info.kex].server_key_exchange(packed)
local data = tls.KEX_ALGORITHMS[info.kex].server_key_exchange(packed, protocol)
return cipher, data.dhparams
end
end