diff options
author | Ingela Anderton Andin <[email protected]> | 2013-05-16 20:04:24 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-05-22 10:51:18 +0200 |
commit | 16d06da9fb425fe652f3826275f3f9bf87c881f0 (patch) | |
tree | d800970cb14e172725d52b50504652864ceef008 /lib/ssh/src/ssh_transport.erl | |
parent | 355e919653c8178b9144db9e0fa01c329e077de4 (diff) | |
download | otp-16d06da9fb425fe652f3826275f3f9bf87c881f0.tar.gz otp-16d06da9fb425fe652f3826275f3f9bf87c881f0.tar.bz2 otp-16d06da9fb425fe652f3826275f3f9bf87c881f0.zip |
crypto,ssh, netconf, inets: binary_to_integer -> bytes_to_integer
Diffstat (limited to 'lib/ssh/src/ssh_transport.erl')
-rw-r--r-- | lib/ssh/src/ssh_transport.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_transport.erl b/lib/ssh/src/ssh_transport.erl index e3d1d3c8a0..beaffdc025 100644 --- a/lib/ssh/src/ssh_transport.erl +++ b/lib/ssh/src/ssh_transport.erl @@ -1047,7 +1047,7 @@ dh_group1() -> dh_gen_key(G, P, _) -> {Public, Private} = crypto:generate_key(dh, [P, G]), - {crypto:binary_to_integer(Private), crypto:binary_to_integer(Public)}. + {crypto:bytes_to_integer(Private), crypto:bytes_to_integer(Public)}. trim_tail(Str) -> lists:reverse(trim_head(lists:reverse(Str))). |