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.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/_tls_common.js b/lib/_tls_common.js
index 54b27a7bca..4196cc084c 100644
--- a/lib/_tls_common.js
+++ b/lib/_tls_common.js
@@ -26,8 +26,7 @@ const { isArrayBufferView } = require('internal/util/types');
const tls = require('tls');
const errors = require('internal/errors');
-const SSL_OP_CIPHER_SERVER_PREFERENCE =
- process.binding('constants').crypto.SSL_OP_CIPHER_SERVER_PREFERENCE;
+const { SSL_OP_CIPHER_SERVER_PREFERENCE } = process.binding('constants').crypto;
// Lazily loaded
var crypto = null;