Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix return type of crypto.getFips() #32580

Merged
merged 2 commits into from
Apr 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -2308,8 +2308,9 @@ console.log(aliceSecret === bobSecret);
added: v10.0.0
-->

* Returns: {boolean} `true` if and only if a FIPS compliant crypto provider is
currently in use.
* Returns: {number} `1` if and only if a FIPS compliant crypto provider is
currently in use, `0` otherwise. A future semver-major release may change
the return type of this API to a {boolean}.

### `crypto.getHashes()`
<!-- YAML
Expand Down