Skip to content

Commit

Permalink
squash! doc: update BUILDING.md with static FIPS section
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Oct 7, 2021
1 parent b54888e commit 56b636a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ dynamically linking with OpenSSL 3.0.0 by using the configuration flag
`--openssl-is-fips`.

### FIPS support when statically linking OpenSSL

FIPS can be supported by specifying the configuration flag `--openssl-is-fips`:
```console
$ ./configure --openssl-is-fips
Expand All @@ -781,7 +782,7 @@ the FIPS configuration file (fipsmodule.cnf), copying and updating openssl.cnf
to include the correct path to fipsmodule.cnf and finally uncomment the fips
section.

We can then run node specifying --enable-fips:
We can then run node specifying `--enable-fips`:
```console
$ ./node --enable-fips -p 'crypto.getFips()'
1
Expand Down

0 comments on commit 56b636a

Please sign in to comment.