diff options
author | Jackson Tian <puling.tyq@alibaba-inc.com> | 2014-11-10 13:09:58 +0800 |
---|---|---|
committer | Chris Dickinson <christopher.s.dickinson@gmail.com> | 2014-11-09 21:39:24 -0800 |
commit | d8a3c4ab2aba94f1faac36e51220b270f9b88227 (patch) | |
tree | 216d7597802fc50caf21220934ec21a78889ca98 /lib/tls.js | |
parent | 03bae7bded4cfea0a5ca7c77fcfd1fb531eafe86 (diff) | |
download | android-node-v8-d8a3c4ab2aba94f1faac36e51220b270f9b88227.tar.gz android-node-v8-d8a3c4ab2aba94f1faac36e51220b270f9b88227.tar.bz2 android-node-v8-d8a3c4ab2aba94f1faac36e51220b270f9b88227.zip |
tls: remove tls.createSecurePair code deprecation
In https://github.com/joyent/node/pulls/8695, the deprecation was
removed from doc. This removes the deprecation from the code.
PR-URL: https://github.com/joyent/node/pull/8700
Reviewed-by: Chris Dickinson <christopher.s.dickinson@gmail.com>
Diffstat (limited to 'lib/tls.js')
-rw-r--r-- | lib/tls.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/tls.js b/lib/tls.js index eff5d313e9..f772d771de 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -246,8 +246,4 @@ exports.TLSSocket = require('_tls_wrap').TLSSocket; exports.Server = require('_tls_wrap').Server; exports.createServer = require('_tls_wrap').createServer; exports.connect = require('_tls_wrap').connect; - -// Legacy API -exports.__defineGetter__('createSecurePair', util.deprecate(function() { - return require('_tls_legacy').createSecurePair; -}, 'createSecurePair() is deprecated, use TLSSocket instead')); +exports.createSecurePair = require('_tls_legacy').createSecurePair; |