Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
crypto: fix unassignd deprecation code
Missed when landing #18333
  • Loading branch information
jasnell committed Feb 1, 2018
commit 4b18fa1efb9909136835ad8303314cb536cb8b2e
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,8 @@ a future version at which point only authentication tag lengths of 128, 120,
is not included in this list will be considered invalid in compliance with
[NIST SP 800-38D][].

<a id="DEP00XX"></a>
### DEP00XX: crypto.DEFAULT_ENCODING
<a id="DEP0091"></a>
### DEP0091: crypto.DEFAULT_ENCODING

Type: Runtime

Expand Down
4 changes: 2 additions & 2 deletions lib/crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ Object.defineProperties(exports, {
enumerable: true,
configurable: true,
get: deprecate(getDefaultEncoding,
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX'),
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091'),
set: deprecate(setDefaultEncoding,
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX')
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091')
},
constants: {
configurable: false,
Expand Down