aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-01-25 16:36:38 +0100
committerHans Nilsson <[email protected]>2017-01-26 15:29:43 +0100
commitfaf7316ad3bc2a563b2fa42520262d22abf51c06 (patch)
treec82244a62d48a947f6e00ce3192c0d38007abb24 /lib
parent7518684155aaabdde97c7b624803523c045bc185 (diff)
downloadotp-faf7316ad3bc2a563b2fa42520262d22abf51c06.tar.gz
otp-faf7316ad3bc2a563b2fa42520262d22abf51c06.tar.bz2
otp-faf7316ad3bc2a563b2fa42520262d22abf51c06.zip
ssh: correct host key signature calculation
Diffstat (limited to 'lib')
-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 18037b8461..2ea87a9002 100644
--- a/lib/ssh/src/ssh_transport.erl
+++ b/lib/ssh/src/ssh_transport.erl
@@ -424,7 +424,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,_} ->
throw(#ssh_msg_disconnect{