Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
tls: remove tls.createSecurePair code deprecation
Browse files Browse the repository at this point in the history
In https://github.com/joyent/node/pulls/8695, the deprecation was
removed from doc.  This removes the deprecation from the code.

PR-URL: #8700
Reviewed-by: Chris Dickinson <christopher.s.dickinson@gmail.com>
  • Loading branch information
JacksonTian authored and chrisdickinson committed Nov 10, 2014
1 parent 03bae7b commit d8a3c4a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/tls.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit d8a3c4a

Please sign in to comment.