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

Commit d8a3c4a

Browse files
JacksonTianchrisdickinson
authored andcommitted
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: #8700 Reviewed-by: Chris Dickinson <[email protected]>
1 parent 03bae7b commit d8a3c4a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

lib/tls.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,4 @@ exports.TLSSocket = require('_tls_wrap').TLSSocket;
246246
exports.Server = require('_tls_wrap').Server;
247247
exports.createServer = require('_tls_wrap').createServer;
248248
exports.connect = require('_tls_wrap').connect;
249-
250-
// Legacy API
251-
exports.__defineGetter__('createSecurePair', util.deprecate(function() {
252-
return require('_tls_legacy').createSecurePair;
253-
}, 'createSecurePair() is deprecated, use TLSSocket instead'));
249+
exports.createSecurePair = require('_tls_legacy').createSecurePair;

0 commit comments

Comments
 (0)