Skip to content

Commit 9b2eee1

Browse files
danbevtargos
authored andcommitted
test: update hasFipsCrypto in test/common/README
PR-URL: #28507 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent d3f5145 commit 9b2eee1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/common/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,12 @@ Indicates whether OpenSSL is available.
194194
### hasFipsCrypto
195195
* [&lt;boolean>]
196196

197-
Indicates `hasCrypto` and `crypto` with fips.
197+
Indicates that Node.js has been linked with a FIPS compatible OpenSSL library,
198+
and that FIPS as been enabled using `--enable-fips`.
199+
200+
To only detect if the OpenSSL library is FIPS compatible, regardless if it has
201+
been enabled or not, then `process.config.variables.openssl_is_fips` can be
202+
used to determine that situation.
198203

199204
### hasIntl
200205
* [&lt;boolean>]

0 commit comments

Comments
 (0)