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>
This commit is contained in:
Tobias Nießen authored and Ruy Adorno committed 2022-08-22 19:37:29 -04:00
1 parent d3f3bf602d
commit a93371205b
1 file changed
+1 -1
+1 -1
View File
@@ -2904,7 +2904,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