diff options
author | Vít Ondruch <vondruch@redhat.com> | 2020-08-25 15:04:54 +0300 |
---|---|---|
committer | Michael Dawson <mdawson@devrus.com> | 2021-02-26 02:12:58 +0300 |
commit | f392ac0bbe3f3757872b9c7cdc785928034b62e9 (patch) | |
tree | 39bf31adb1c4d24b74f717e7e0272bbccc18ac5a /doc/api/cli.md | |
parent | 148bc33347266a0293d52859cbf9580ade9b6cbe (diff) |
crypto: make FIPS related options always awailable
There is no reason to hide FIPS functionality behind build flags.
OpenSSL always provide the information about FIPS availability via
`FIPS_mode()` function.
This makes the user experience more consistent, because the OpenSSL
library is always queried and the `crypto.getFips()` always returns
OpenSSL settings.
Fixes #34903
PR-URL: https://github.com/nodejs/node/pull/36341
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r-- | doc/api/cli.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index c9f51b65f94..4612a94eb5d 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -186,8 +186,8 @@ code from strings throw an exception instead. This does not affect the Node.js added: v6.0.0 --> -Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with -`./configure --openssl-fips`.) +Enable FIPS-compliant crypto at startup. (Requires Node.js to be built +against FIPS-compatible OpenSSL.) ### `--enable-source-maps` <!-- YAML @@ -613,8 +613,8 @@ added: v6.9.0 --> Load an OpenSSL configuration file on startup. Among other uses, this can be -used to enable FIPS-compliant crypto if Node.js is built with -`./configure --openssl-fips`. +used to enable FIPS-compliant crypto if Node.js is built +against FIPS-enabled OpenSSL. ### `--pending-deprecation` <!-- YAML |