diff options
Diffstat (limited to 'src/js/node/crypto.js')
-rw-r--r-- | src/js/node/crypto.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/node/crypto.js b/src/js/node/crypto.js index 351f6adff..a7b628ef8 100644 --- a/src/js/node/crypto.js +++ b/src/js/node/crypto.js @@ -8739,6 +8739,7 @@ var require_curves = __commonJS({ assert(this.g.validate(), "Invalid curve"), assert(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O"); } + PresetCurve.prototype = {}; curves.PresetCurve = PresetCurve; function defineCurve(name, options) { Object.defineProperty(curves, name, { |