diff --git a/lib/internal/crypto/scrypt.js b/lib/internal/crypto/scrypt.js index e369bb11faffb9..b8ab0a590f1aee 100644 --- a/lib/internal/crypto/scrypt.js +++ b/lib/internal/crypto/scrypt.js @@ -71,7 +71,7 @@ function handleError(keybuf, password, salt, N, r, p, maxmem, wrap) { throw ex; // Scrypt operation failed, exception object contains details. } -function check(password, salt, keylen, options, callback) { +function check(password, salt, keylen, options) { if (_scrypt === undefined) throw new ERR_CRYPTO_SCRYPT_NOT_SUPPORTED();