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 3aa9938

Browse filesBrowse files
panvaaduh95
authored andcommitted
test: skip test-tls-error-stack when engines are unsupported
Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #62805 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 947f1ae commit 3aa9938
Copy full SHA for 3aa9938

1 file changed

+3Lines changed: 3 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-tls-error-stack.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-tls-error-stack.js
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ const tls = require('tls');
1111
assert.throws(() => {
1212
tls.createSecureContext({ clientCertEngine: 'x' });
1313
}, (err) => {
14+
if (err.code === 'ERR_CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED')
15+
common.skip('OpenSSL dropped engine support');
16+
1417
return err.name === 'Error' &&
1518
/could not load the shared library/.test(err.message) &&
1619
Array.isArray(err.opensslErrorStack) &&

0 commit comments

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