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 authored and targos committed Sep 20, 2018
1 parent bb3292f commit 329ac60
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 @@ -70,7 +70,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 329ac60

Please sign in to comment.