Skip to content

Commit

Permalink
crypto: remove unused scrypt validation parameter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tniessen committed Sep 18, 2018
1 parent dafaa6e commit 47a0d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/crypto/scrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 47a0d04

Please sign in to comment.