We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a10f6 commit aa9afe3Copy full SHA for aa9afe3
test/index.js
@@ -63,8 +63,15 @@ fixtures.valid.ec.forEach(function (f) {
63
}
64
65
test(f.message, function (t) {
66
- var nSign = nCrypto.createSign(f.scheme)
67
- var bSign = bCrypto.createSign(f.scheme)
+ var nSign, bSign
+ try {
68
+ nSign = nCrypto.createSign(f.scheme)
69
+ bSign = bCrypto.createSign(f.scheme)
70
+ } catch(ex) {
71
+ console.info("skipping unsupported scheme", f.scheme)
72
+ t.end()
73
+ return
74
+ }
75
76
var bSig = bSign.update(message).sign(priv)
77
var nSig = nSign.update(message).sign(priv)
0 commit comments