summaryrefslogtreecommitdiff
path: root/backend
Unidiff
Diffstat (limited to 'backend') (more/less context) (ignore whitespace changes)
-rw-r--r--backend/node/src/clipperz.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/node/src/clipperz.js b/backend/node/src/clipperz.js
index 72b6c9f..842de31 100644
--- a/backend/node/src/clipperz.js
+++ b/backend/node/src/clipperz.js
@@ -173,6 +173,8 @@ var CLIPPERZ = module.exports = function(CONFIG) {
173 }] 173 }]
174 },function(e,r) { 174 },function(e,r) {
175 if(e) return cb(e); 175 if(e) return cb(e);
176 var A = BIGNUM(ppp.A,16);
177 if(A.eq(0)) return cb(new Error('Ground Zero'));
176 req.session.C = ppp.C; req.session.A = ppp.A; 178 req.session.C = ppp.C; req.session.A = ppp.A;
177 req.session.s = r.u.u_srp_s; req.session.v = r.u.u_srp_v; 179 req.session.s = r.u.u_srp_s; req.session.v = r.u.u_srp_v;
178 req.session.u = r.u.u_id; 180 req.session.u = r.u.u_id;