From e7f710c1d4729890806610e5450d7a0edfb4ac11 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Sat, 22 Sep 2018 09:49:52 -0500 Subject: bootstrapper: move internalBinding to NativeModule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit internalBinding is used so often that it should just automatically be available for usage in internals. PR-URL: https://github.com/nodejs/node/pull/23025 Refs: https://github.com/nodejs/node/commit/2a9eb31 Reviewed-By: Anna Henningsen Reviewed-By: Michaƫl Zasso Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Joyee Cheung Reviewed-By: Refael Ackermann Reviewed-By: Ruben Bridgewater Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Trivikram Kamat --- lib/_tls_common.js | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/_tls_common.js') diff --git a/lib/_tls_common.js b/lib/_tls_common.js index 2401bd0b4b..b8e68eec15 100644 --- a/lib/_tls_common.js +++ b/lib/_tls_common.js @@ -34,7 +34,6 @@ const { SSL_OP_CIPHER_SERVER_PREFERENCE } = process.binding('constants').crypto; // Lazily loaded from internal/crypto/util. let toBuf = null; -const { internalBinding } = require('internal/bootstrap/loaders'); const { SecureContext: NativeSecureContext } = internalBinding('crypto'); function SecureContext(secureProtocol, secureOptions, context) { if (!(this instanceof SecureContext)) { -- cgit v1.2.3