Skip to content

Commit 4b18fa1

Browse files
committed
crypto: fix unassignd deprecation code
Missed when landing nodejs#18333
1 parent 9e1a6f8 commit 4b18fa1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/api/deprecations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,8 @@ a future version at which point only authentication tag lengths of 128, 120,
824824
is not included in this list will be considered invalid in compliance with
825825
[NIST SP 800-38D][].
826826
827-
<a id="DEP00XX"></a>
828-
### DEP00XX: crypto.DEFAULT_ENCODING
827+
<a id="DEP0091"></a>
828+
### DEP0091: crypto.DEFAULT_ENCODING
829829
830830
Type: Runtime
831831

lib/crypto.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ Object.defineProperties(exports, {
206206
enumerable: true,
207207
configurable: true,
208208
get: deprecate(getDefaultEncoding,
209-
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX'),
209+
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091'),
210210
set: deprecate(setDefaultEncoding,
211-
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX')
211+
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091')
212212
},
213213
constants: {
214214
configurable: false,

0 commit comments

Comments
 (0)