summaryrefslogtreecommitdiff
path: root/lib/internal/crypto/hash.js
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-01-30 21:07:11 +0100
committerAnna Henningsen <anna@addaleax.net>2019-02-03 20:41:53 +0100
commit270ffb0fa7dc9a771f6a4029ee5b77ed490eb8e8 (patch)
tree6186203ec44235dc4d1f0d07ed15529fe3862c0d /lib/internal/crypto/hash.js
parentcca897ef5d92b20c7862fab00116ea0727439c10 (diff)
downloadandroid-node-v8-270ffb0fa7dc9a771f6a4029ee5b77ed490eb8e8.tar.gz
android-node-v8-270ffb0fa7dc9a771f6a4029ee5b77ed490eb8e8.tar.bz2
android-node-v8-270ffb0fa7dc9a771f6a4029ee5b77ed490eb8e8.zip
src,lib: remove dead `process.binding()` code
There are no non-internal builtin modules left, so this should be safe to remove to a large degree. PR-URL: https://github.com/nodejs/node/pull/25829 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'lib/internal/crypto/hash.js')
-rw-r--r--lib/internal/crypto/hash.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/crypto/hash.js b/lib/internal/crypto/hash.js
index 713ded3d18..d486d83e91 100644
--- a/lib/internal/crypto/hash.js
+++ b/lib/internal/crypto/hash.js
@@ -3,7 +3,7 @@
const {
Hash: _Hash,
Hmac: _Hmac
-} = process.binding('crypto');
+} = internalBinding('crypto');
const {
getDefaultEncoding,