Skip to content

Commit 1023414

Browse files
committed
fixup! crypto: discover ciphers from OpenSSL providers
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
1 parent ac4548f commit 1023414

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎test/parallel/test-crypto-provider-cipher-cache.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ const {
1919
setFips,
2020
} = require('crypto');
2121
const { internalBinding } = require('internal/test/binding');
22-
const { Worker } = require('worker_threads');
22+
const { isMainThread, Worker } = require('worker_threads');
23+
24+
if (!isMainThread)
25+
common.skip('crypto.setFips() is not supported in workers');
2326

2427
const algorithm = 'camellia-128-cbc-cts';
2528
const hashAlgorithm = 'md5';

0 commit comments

Comments
 (0)