aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_transport.erl
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2017-02-01 18:32:32 +0100
committerErlang/OTP <[email protected]>2017-02-01 18:32:32 +0100
commitcd545daf6a88ebebef6de1fb631cb47e91b05ca5 (patch)
treedec07a7d0d1a1b53557698faca6683362bc35812 /lib/ssh/src/ssh_transport.erl
parentd8a2c0b28bb209e575a13d1a7546b8800bee7c8c (diff)
parentfaf7316ad3bc2a563b2fa42520262d22abf51c06 (diff)
downloadotp-cd545daf6a88ebebef6de1fb631cb47e91b05ca5.tar.gz
otp-cd545daf6a88ebebef6de1fb631cb47e91b05ca5.tar.bz2
otp-cd545daf6a88ebebef6de1fb631cb47e91b05ca5.zip
Merge branch 'hans/ssh/kex_gex_min_max/OTP-14166' into maint-18
* hans/ssh/kex_gex_min_max/OTP-14166: ssh: correct host key signature calculation
Diffstat (limited to 'lib/ssh/src/ssh_transport.erl')
-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{