summaryrefslogtreecommitdiff
path: root/lib/_tls_common.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_tls_common.js')
-rw-r--r--lib/_tls_common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_tls_common.js b/lib/_tls_common.js
index b8e68eec15..2a88045067 100644
--- a/lib/_tls_common.js
+++ b/lib/_tls_common.js
@@ -29,7 +29,7 @@ const {
ERR_INVALID_ARG_TYPE
} = require('internal/errors').codes;
-const { SSL_OP_CIPHER_SERVER_PREFERENCE } = process.binding('constants').crypto;
+const { SSL_OP_CIPHER_SERVER_PREFERENCE } = internalBinding('constants').crypto;
// Lazily loaded from internal/crypto/util.
let toBuf = null;