diff options
author | Tobias Nießen <tniessen@tnie.de> | 2022-08-21 01:08:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-21 01:08:53 +0300 |
commit | 1ecc6c05405dc23473567e49df689e0e9aa78581 (patch) | |
tree | 7cb019ad7079aacbc973eec931b2bef6e8613e63 /doc/api/crypto.md | |
parent | 4e8d85ab02af48fed91764113ff18d7a9a9728d7 (diff) |
doc: fix optionality of callback arg of checkPrime
The callback argument is required.
PR-URL: https://github.com/nodejs/node/pull/44311
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r-- | doc/api/crypto.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 5af51832e9a..0eb36dc1ecb 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2910,7 +2910,7 @@ is currently in use. Setting to true requires a FIPS build of Node.js. This property is deprecated. Please use `crypto.setFips()` and `crypto.getFips()` instead. -### `crypto.checkPrime(candidate[, options[, callback]])` +### `crypto.checkPrime(candidate[, options], callback)` <!-- YAML added: v15.8.0 |