From e35adc68234f111845a58b131fd1642dfaa1d4ef Mon Sep 17 00:00:00 2001 From: Christophe Diederichs Date: Wed, 17 Jun 2020 13:31:54 +0200 Subject: [PATCH] catch syntax error --- crypto_verify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto_verify.js b/crypto_verify.js index bfa5099..17db8b0 100644 --- a/crypto_verify.js +++ b/crypto_verify.js @@ -27,7 +27,7 @@ function sodium_memcmp (a, b) { return vn(a, 0, b, 0, a.byteLength) === 0 } -function sodium_is_zero = function (arr) { +function sodium_is_zero (arr) { var d = 0 for (let i = 0; i < arr.length; i++) d |= arr[i] return d === 0