+8
-11
lines changedFilter options
+8
-11
lines changed Original file line number Diff line number Diff line change
@@ -561,17 +561,14 @@ for (const test of TEST_CASES) {
561
561
const iv = Buffer.alloc(12);
562
562
const opts = { authTagLength: 10 };
563
563
564
-
for (const cipher of [
565
-
crypto.createCipheriv(algo, key, iv, opts),
566
-
]) {
567
-
assert.throws(() => {
568
-
cipher.final();
569
-
}, hasOpenSSL3 ? {
570
-
code: 'ERR_OSSL_TAG_NOT_SET'
571
-
} : {
572
-
message: /Unsupported state/
573
-
});
574
-
}
564
+
const cipher = crypto.createCipheriv(algo, key, iv, opts);
565
+
assert.throws(() => {
566
+
cipher.final();
567
+
}, hasOpenSSL3 ? {
568
+
code: 'ERR_OSSL_TAG_NOT_SET'
569
+
} : {
570
+
message: /Unsupported state/
571
+
});
575
572
}
576
573
577
574
{
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4