◐ Shell
clean mode source ↗

test: disable openssl 3.4.0 incompatible tests · nodejs/node@5660b99

Original file line numberDiff line numberDiff line change

@@ -31,6 +31,9 @@ const methods = crypto.getHashes();

3131

const input = fs.readFileSync(fixtures.path('utf8_test_text.txt'));

3232
3333

for (const method of methods) {

34+

// Skip failing tests on OpenSSL 3.4.0

35+

if (method.startsWith('shake') && common.hasOpenSSL(3, 4))

36+

continue;

3437

for (const outputEncoding of ['buffer', 'hex', 'base64', undefined]) {

3538

const oldDigest = crypto.createHash(method).update(input).digest(outputEncoding || 'hex');

3639

const digestFromBuffer = crypto.hash(method, input, outputEncoding);