Skip to content

Commit 2b0ce98

Browse files
tniessentargos
authored andcommitted
crypto: remove unused scrypt validation parameter
PR-URL: #22902 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 6f66e49 commit 2b0ce98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/crypto/scrypt.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function handleError(keybuf, password, salt, N, r, p, maxmem, wrap) {
7070
throw ex; // Scrypt operation failed, exception object contains details.
7171
}
7272

73-
function check(password, salt, keylen, options, callback) {
73+
function check(password, salt, keylen, options) {
7474
if (_scrypt === undefined)
7575
throw new ERR_CRYPTO_SCRYPT_NOT_SUPPORTED();
7676

0 commit comments

Comments
 (0)