diff options
Diffstat (limited to 'lib/srp_register.js')
-rw-r--r-- | lib/srp_register.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/srp_register.js b/lib/srp_register.js index 3966d79..1666476 100644 --- a/lib/srp_register.js +++ b/lib/srp_register.js @@ -17,8 +17,7 @@ function SRP_REGISTER() if(response.salt) { var s = response.salt; - var x = that.calcX(s); - var v = that.getg().modPow(x, that.getN()); + var v = that.calcV(s); that.register_send_verifier(v.toString(16)); } else if(response.error) |