summaryrefslogtreecommitdiff
path: root/lib/internal/crypto/diffiehellman.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/crypto/diffiehellman.js')
-rw-r--r--lib/internal/crypto/diffiehellman.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/crypto/diffiehellman.js b/lib/internal/crypto/diffiehellman.js
index 02142d4b1f..4f5bcbad97 100644
--- a/lib/internal/crypto/diffiehellman.js
+++ b/lib/internal/crypto/diffiehellman.js
@@ -24,7 +24,7 @@ const {
POINT_CONVERSION_COMPRESSED,
POINT_CONVERSION_HYBRID,
POINT_CONVERSION_UNCOMPRESSED
-} = process.binding('constants').crypto;
+} = internalBinding('constants').crypto;
const DH_GENERATOR = 2;