diff options
author | Tobias Nießen <tniessen@tnie.de> | 2019-03-30 11:01:45 +0100 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2019-04-04 16:45:41 +0200 |
commit | 2f1ed5c0637a7bdd079136d2cb80f6a4184ae299 (patch) | |
tree | 79ddc4ec3418c4e57d0dd1ca1c33c8c3779273af /lib/internal/crypto/hash.js | |
parent | 73bca57988c847a4b17b923686eee8e04e4fa13c (diff) | |
download | android-node-v8-2f1ed5c0637a7bdd079136d2cb80f6a4184ae299.tar.gz android-node-v8-2f1ed5c0637a7bdd079136d2cb80f6a4184ae299.tar.bz2 android-node-v8-2f1ed5c0637a7bdd079136d2cb80f6a4184ae299.zip |
crypto: remove legacy native handles
PR-URL: https://github.com/nodejs/node/pull/27011
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'lib/internal/crypto/hash.js')
-rw-r--r-- | lib/internal/crypto/hash.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/internal/crypto/hash.js b/lib/internal/crypto/hash.js index 5e67efe6c5..89ab29d845 100644 --- a/lib/internal/crypto/hash.js +++ b/lib/internal/crypto/hash.js @@ -8,7 +8,6 @@ const { const { getDefaultEncoding, kHandle, - legacyNativeHandle, toBuf } = require('internal/crypto/util'); @@ -89,8 +88,6 @@ Hash.prototype.digest = function digest(outputEncoding) { return ret; }; -legacyNativeHandle(Hash); - function Hmac(hmac, key, options) { if (!(this instanceof Hmac)) @@ -130,8 +127,6 @@ Hmac.prototype.digest = function digest(outputEncoding) { Hmac.prototype._flush = Hash.prototype._flush; Hmac.prototype._transform = Hash.prototype._transform; -legacyNativeHandle(Hmac); - module.exports = { Hash, Hmac |