From f8e834940c5fda2476b765598673ed7dacb1ffc0 Mon Sep 17 00:00:00 2001 From: johnnyman727 Date: Thu, 11 Jun 2015 00:03:49 -0700 Subject: [PATCH] Removes an apparently useless check on the type of encryption requested from the Crypto module --- src/colony/modules/crypto.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/colony/modules/crypto.js b/src/colony/modules/crypto.js index 541c5d6a..d289f14e 100644 --- a/src/colony/modules/crypto.js +++ b/src/colony/modules/crypto.js @@ -30,10 +30,6 @@ function Hmac (encryption, key) { checkAvailable(); - if (encryption != 'sha1') { - throw new Error('HMAC encryption ' + String(encryption) + ' not supported.'); - } - this.encryption = encryption; this.key = key; this._values = [];