aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_math.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-05-16 20:04:24 +0200
committerIngela Anderton Andin <[email protected]>2013-05-22 10:51:18 +0200
commit16d06da9fb425fe652f3826275f3f9bf87c881f0 (patch)
treed800970cb14e172725d52b50504652864ceef008 /lib/ssh/src/ssh_math.erl
parent355e919653c8178b9144db9e0fa01c329e077de4 (diff)
downloadotp-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_math.erl')
-rw-r--r--lib/ssh/src/ssh_math.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_math.erl b/lib/ssh/src/ssh_math.erl
index e05964daa1..569c1cb58d 100644
--- a/lib/ssh/src/ssh_math.erl
+++ b/lib/ssh/src/ssh_math.erl
@@ -33,7 +33,7 @@
%% calculate A^B mod M
ipow(A, B, M) when M > 0, B >= 0 ->
- crypto:binary_to_integer(crypto:mod_pow(A, B, M)).
+ crypto:bytes_to_integer(crypto:mod_pow(A, B, M)).