aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-01-26 13:04:55 +0100
committerHans Nilsson <[email protected]>2017-01-26 13:04:55 +0100
commitd1ce339494eb5224653f64519bd7646059eca6cb (patch)
tree263a0d804d658d5b1cd59b88317b6d8fa3dd00f9
parent15dd52f771314b6eade47314afcd8b3206c694b1 (diff)
parente0b2554dcfae4a8a20adbb3ebf226f7ebe4f89ab (diff)
downloadotp-d1ce339494eb5224653f64519bd7646059eca6cb.tar.gz
otp-d1ce339494eb5224653f64519bd7646059eca6cb.tar.bz2
otp-d1ce339494eb5224653f64519bd7646059eca6cb.zip
Merge branch 'hans/ssh/bad_hostkey_sign_kex_dh_gex/OTP-14166' into maint
-rw-r--r--lib/ssh/src/ssh_transport.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_transport.erl b/lib/ssh/src/ssh_transport.erl
index 21ba34506a..5e8efa2af7 100644
--- a/lib/ssh/src/ssh_transport.erl
+++ b/lib/ssh/src/ssh_transport.erl
@@ -432,7 +432,7 @@ handle_kex_dh_gex_request(#ssh_msg_kex_dh_gex_request{min = Min0,
ssh_packet(#ssh_msg_kex_dh_gex_group{p = P, g = G}, Ssh0),
{ok, SshPacket,
Ssh#ssh{keyex_key = {{Private, Public}, {G, P}},
- keyex_info = {Min, Max, NBits}
+ keyex_info = {Min0, Max0, NBits}
}};
{error,_} ->
ssh_connection_handler:disconnect(