From 1087ac07decfc74a75d4b1118cbf9ea23384374d Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 16 May 2014 11:31:49 +1000 Subject: [PATCH] sec: fix formatting --- src/sec.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/sec.js b/src/sec.js index ab0f84e..3e25b80 100644 --- a/src/sec.js +++ b/src/sec.js @@ -9,32 +9,32 @@ var ECPointFp = ECCurveFp.ECPointFp // constructor function X9ECParameters(curve,g,n,h) { - this.curve = curve; - this.g = g; - this.n = n; - this.h = h; + this.curve = curve + this.g = g + this.n = n + this.h = h } function x9getCurve() { - return this.curve; + return this.curve } function x9getG() { - return this.g; + return this.g } function x9getN() { - return this.n; + return this.n } function x9getH() { - return this.h; + return this.h } -X9ECParameters.prototype.getCurve = x9getCurve; -X9ECParameters.prototype.getG = x9getG; -X9ECParameters.prototype.getN = x9getN; -X9ECParameters.prototype.getH = x9getH; +X9ECParameters.prototype.getCurve = x9getCurve +X9ECParameters.prototype.getG = x9getG +X9ECParameters.prototype.getN = x9getN +X9ECParameters.prototype.getH = x9getH // ---------------- // SECNamedCurves