summaryrefslogtreecommitdiff
path: root/backend/node/src/clipperz.js
Side-by-side diff
Diffstat (limited to 'backend/node/src/clipperz.js') (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
@@ -175,2 +175,4 @@ var CLIPPERZ = module.exports = function(CONFIG) {
if(e) return cb(e);
+ var A = BIGNUM(ppp.A,16);
+ if(A.eq(0)) return cb(new Error('Ground Zero'));
req.session.C = ppp.C; req.session.A = ppp.A;