diff options
Diffstat (limited to 'lib/ssh/src/ssh_math.erl')
-rw-r--r-- | lib/ssh/src/ssh_math.erl | 2 |
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)). |