diff options
author | Azul <azul@leap.se> | 2012-07-20 14:21:22 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-07-20 14:21:22 +0200 |
commit | 8fa0825e28828a4bd1c28b5e467578498ba54b43 (patch) | |
tree | f8620ca7da0f632c94ec2e4c687863bdf72b2fbf /lib/srp_register.js | |
parent | fcb9e65af31569db33c198217df816971f2f20cd (diff) |
calcV to calculate verifier, do not use srp_url or srp_server anymore
We can easily overwrite the corresponding functions
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) |