summaryrefslogtreecommitdiff
path: root/lib/tls.js
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-09-21 09:42:06 -0700
committerRuben Bridgewater <ruben@bridgewater.de>2017-09-24 11:28:17 -0300
commit193926ecabe144d622e38aad89ba442df3e2114a (patch)
tree2c372f8dd91100813795b23a5e7298b248af61cb /lib/tls.js
parent150b8f7fda526b52f07070b25f404f0b417d6d27 (diff)
downloadandroid-node-v8-193926ecabe144d622e38aad89ba442df3e2114a.tar.gz
android-node-v8-193926ecabe144d622e38aad89ba442df3e2114a.tar.bz2
android-node-v8-193926ecabe144d622e38aad89ba442df3e2114a.zip
tls,doc: fix unallocated deprecation code
Deprecation was landed using `DEP00XX` instead of a properly allocated deprecation code. PR-URL: https://github.com/nodejs/node/pull/15534 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'lib/tls.js')
-rw-r--r--lib/tls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tls.js b/lib/tls.js
index 91a543cb55..6c6e4b0918 100644
--- a/lib/tls.js
+++ b/lib/tls.js
@@ -233,7 +233,7 @@ exports.parseCertString = internalUtil.deprecate(
internalTLS.parseCertString,
'tls.parseCertString() is deprecated. ' +
'Please use querystring.parse() instead.',
- 'DEP00XX');
+ 'DEP0076');
// Public API
exports.createSecureContext = require('_tls_common').createSecureContext;