summaryrefslogtreecommitdiff
path: root/lib/crypto.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto.js')
-rw-r--r--lib/crypto.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto.js b/lib/crypto.js
index e80c7a8327..44d4800624 100644
--- a/lib/crypto.js
+++ b/lib/crypto.js
@@ -145,7 +145,7 @@ function createVerify(algorithm, options) {
return new Verify(algorithm, options);
}
-module.exports = exports = {
+module.exports = {
// Methods
createCipheriv,
createDecipheriv,
@@ -218,7 +218,7 @@ function getFipsForced() {
return 1;
}
-Object.defineProperties(exports, {
+Object.defineProperties(module.exports, {
createCipher: {
enumerable: false,
value: deprecate(createCipher,