Skip to content

Commit

Permalink
errors: decapitalize PBKDF2 error
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Sep 4, 2018
1 parent e0ae50f commit 85936dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/internal/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,7 @@ E('ERR_CRYPTO_HASH_FINALIZED', 'Digest already called', Error);
E('ERR_CRYPTO_HASH_UPDATE_FAILED', 'Hash update failed', Error);
E('ERR_CRYPTO_INVALID_DIGEST', 'Invalid digest: %s', TypeError);
E('ERR_CRYPTO_INVALID_STATE', 'Invalid state for operation %s', Error);
// TODO(bnoordhuis) Decapitalize: s/PBKDF2 Error/PBKDF2 error/
E('ERR_CRYPTO_PBKDF2_ERROR', 'PBKDF2 Error', Error);
E('ERR_CRYPTO_PBKDF2_ERROR', 'PBKDF2 error', Error);
E('ERR_CRYPTO_SCRYPT_INVALID_PARAMETER', 'Invalid scrypt parameter', Error);
E('ERR_CRYPTO_SCRYPT_NOT_SUPPORTED', 'Scrypt algorithm not supported', Error);
// Switch to TypeError. The current implementation does not seem right.
Expand Down

0 comments on commit 85936dd

Please sign in to comment.