2014-11-22 16:59:48 +01:00
|
|
|
'use strict';
|
|
|
|
|
2025-05-11 00:10:43 +01:00
|
|
|
const { SecureContext, createSecureContext, translatePeerCertificate } = require('internal/tls/common');
|
2021-04-06 13:29:09 -07:00
|
|
|
module.exports = {
|
|
|
|
SecureContext,
|
|
|
|
createSecureContext,
|
|
|
|
translatePeerCertificate,
|
2014-04-14 21:15:57 +04:00
|
|
|
};
|
2025-05-23 23:03:02 +01:00
|
|
|
process.emitWarning('The _tls_common module is deprecated. Use `node:tls` instead.',
|
2025-05-11 00:10:43 +01:00
|
|
|
'DeprecationWarning', 'DEP0192');
|