summaryrefslogtreecommitdiff
path: root/lib/srp/authentication.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2012-10-04 10:22:46 +0200
committerAzul <azul@riseup.net>2012-10-04 10:22:46 +0200
commitb889ef34d4fff0d156901ae2aebfcee02339ce77 (patch)
treebb9e6502337e5bef90147d3513a5c2e51c20f7fa /lib/srp/authentication.rb
parent693b6d1e36828fa17915a9297595f65c739b611a (diff)
some cleanup, sha functions now concat multiple args
also u does not depend on n
Diffstat (limited to 'lib/srp/authentication.rb')
-rw-r--r--lib/srp/authentication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/srp/authentication.rb b/lib/srp/authentication.rb
index 0505a58..0fd275c 100644
--- a/lib/srp/authentication.rb
+++ b/lib/srp/authentication.rb
@@ -17,7 +17,7 @@ module SRP
end
def u
- calculate_u(aa, bb, BIG_PRIME_N)
+ calculate_u(aa, bb)
end
# do not cache this - it's secret and someone might store the