From 2111207f445f591a412a9420464d451ef748975a Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Fri, 5 Jul 2019 13:42:14 +0200 Subject: [PATCH] test: update hasFipsCrypto in test/common/README PR-URL: https://github.com/nodejs/node/pull/28507 Reviewed-By: Ben Noordhuis Reviewed-By: Rich Trott Reviewed-By: Richard Lau Reviewed-By: Ruben Bridgewater --- test/common/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/common/README.md b/test/common/README.md index 0fd03ce767265a..63c5fb1a56f0ec 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -194,7 +194,12 @@ Indicates whether OpenSSL is available. ### hasFipsCrypto * [<boolean>] -Indicates `hasCrypto` and `crypto` with fips. +Indicates that Node.js has been linked with a FIPS compatible OpenSSL library, +and that FIPS as been enabled using `--enable-fips`. + +To only detect if the OpenSSL library is FIPS compatible, regardless if it has +been enabled or not, then `process.config.variables.openssl_is_fips` can be +used to determine that situation. ### hasIntl * [<boolean>]