Skip to content

Commit f415069

Browse files
danbevtargos
authored andcommitted
crypto: add crypto modules to cannotUseCache
Currently, when configured --without-ssl there are two failures like the following: internal/util.js:101 throw new ERR_NO_CRYPTO(); ^ Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support at assertCrypto (internal/util.js:101:11) at crypto.js:31:1 at NativeModule.compile (internal/bootstrap/loaders.js:316:5) at NativeModule.require (internal/bootstrap/loaders.js:219:7) at internal/policy/manifest.js:10:16 at NativeModule.compile (internal/bootstrap/loaders.js:316:5) at NativeModule.require (internal/bootstrap/loaders.js:219:7) at internal/process/policy.js:6:22 at NativeModule.compile (internal/bootstrap/loaders.js:316:5) at Function.NativeModule.require (internal/bootstrap/loaders.js:219:7) This commit adds policy/manifest and process/policy to cannotUseCache. PR-URL: #25606 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent ac5fa2c commit f415069

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/bootstrap/cache.js

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ if (!process.versions.openssl) {
6363
'internal/crypto/util',
6464
'internal/http2/core',
6565
'internal/http2/compat',
66+
'internal/policy/manifest',
67+
'internal/process/policy',
6668
'internal/streams/lazy_transform',
6769
);
6870
}

0 commit comments

Comments
 (0)