Comparing version 0.9.1 to 0.9.2
@@ -51,2 +51,10 @@ var assert = require('assert'); | ||
var s = this.s.toArray(); | ||
// Pad values | ||
if (r[0] & 0x80) | ||
r = [ 0 ].concat(r); | ||
// Pad values | ||
if (s[0] & 0x80) | ||
s = [ 0 ].concat(s); | ||
var total = r.length + s.length + 4; | ||
@@ -53,0 +61,0 @@ var res = [ 0x30, total, 0x02, r.length ]; |
{ | ||
"name": "elliptic", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "EC cryptography", | ||
@@ -5,0 +5,0 @@ "main": "lib/elliptic.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100907
2511