aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-01-25 16:36:38 +0100
committerHans Nilsson <[email protected]>2017-01-25 16:36:38 +0100
commite0b2554dcfae4a8a20adbb3ebf226f7ebe4f89ab (patch)
tree5ebee716962a3305a3e6caa21bf3879dee3f79fd
parent941dc6198b0ca34eff7a9b30f986e964cbcccefb (diff)
downloadotp-e0b2554dcfae4a8a20adbb3ebf226f7ebe4f89ab.tar.gz
otp-e0b2554dcfae4a8a20adbb3ebf226f7ebe4f89ab.tar.bz2
otp-e0b2554dcfae4a8a20adbb3ebf226f7ebe4f89ab.zip
ssh: correct host key signature calculation
-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(