Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0d772a9

Browse filesBrowse files
jellyaduh95
authored andcommitted
test: disable openssl 3.4.0 incompatible tests
The shake128/shake256 hashing algorithms broke due to an OpenSSL 3.4 incompatible change and now throws an Error. PR-URL: #56160 Refs: #56159 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 6fa6d69 commit 0d772a9
Copy full SHA for 0d772a9

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-crypto-oneshot-hash.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-crypto-oneshot-hash.js
+3Lines changed: 3 additions & 0 deletions
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);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.