We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a07ccae commit 01fe2ceCopy full SHA for 01fe2ce
test/parallel/test-crypto-scrypt.js
@@ -95,15 +95,15 @@ const good = [
95
const bad = [
96
{ N: 1, p: 1, r: 1 }, // N < 2
97
{ N: 3, p: 1, r: 1 }, // Not power of 2.
98
- { N: 2 ** 16, p: 1, r: 1 }, // N >= 2**(r*16)
99
- { N: 2, p: 2 ** 30, r: 1 }, // p > (2**30-1)/r
100
{ N: 1, cost: 1 }, // both N and cost
101
{ p: 1, parallelization: 1 }, // both p and parallelization
102
{ r: 1, blockSize: 1 } // both r and blocksize
103
];
104
105
// Test vectors where 128*N*r exceeds maxmem.
106
const toobig = [
+ { N: 2 ** 16, p: 1, r: 1 }, // N >= 2**(r*16)
+ { N: 2, p: 2 ** 30, r: 1 }, // p > (2**30-1)/r
107
{ N: 2 ** 20, p: 1, r: 8 },
108
{ N: 2 ** 10, p: 1, r: 8, maxmem: 2 ** 20 },
109
test/parallel/test-tls-passphrase.js
@@ -221,7 +221,7 @@ server.listen(0, common.mustCall(function() {
221
}, common.mustCall());
222
})).unref();
223
224
-const errMessagePassword = /bad password read/;
+const errMessagePassword = /bad decrypt/;
225
226
// Missing passphrase
227
assert.throws(function() {
0 commit comments