diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
commit | c4403b29ad4db097af528a7f04eea07e0ed320d0 (patch) | |
tree | c7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/helpers/peertube-crypto.js | |
parent | 9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff) | |
download | PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.gz PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.zst PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.zip |
Server: remove useless hash affectations
Diffstat (limited to 'server/helpers/peertube-crypto.js')
-rw-r--r-- | server/helpers/peertube-crypto.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/server/helpers/peertube-crypto.js b/server/helpers/peertube-crypto.js index 4783e9965..1ff638b04 100644 --- a/server/helpers/peertube-crypto.js +++ b/server/helpers/peertube-crypto.js | |||
@@ -12,13 +12,13 @@ const logger = require('./logger') | |||
12 | const algorithm = 'aes-256-ctr' | 12 | const algorithm = 'aes-256-ctr' |
13 | 13 | ||
14 | const peertubeCrypto = { | 14 | const peertubeCrypto = { |
15 | checkSignature: checkSignature, | 15 | checkSignature, |
16 | comparePassword: comparePassword, | 16 | comparePassword, |
17 | createCertsIfNotExist: createCertsIfNotExist, | 17 | createCertsIfNotExist, |
18 | cryptPassword: cryptPassword, | 18 | cryptPassword, |
19 | decrypt: decrypt, | 19 | decrypt, |
20 | encrypt: encrypt, | 20 | encrypt, |
21 | sign: sign | 21 | sign |
22 | } | 22 | } |
23 | 23 | ||
24 | function checkSignature (publicKey, rawData, hexSignature) { | 24 | function checkSignature (publicKey, rawData, hexSignature) { |