From 2dc6f83996baf899acc2a5819b82a723ba0daef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sat, 20 Aug 2022 15:59:41 +0000 Subject: [PATCH] doc: fix optionality of callback arg of checkPrime The callback argument is required. --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 5af51832e9ae3b..0eb36dc1ecb7b5 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)`