[Pkg-javascript-commits] [node-sha.js] 213/237: fix standard issues
Bastien Roucariès
rouca at moszumanska.debian.org
Fri May 5 09:04:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-sha.js.
commit 52659f73bdc9ce1147da010cb303f3f008428498
Author: Daniel Cousens <github at dcousens.com>
Date: Fri Aug 28 09:53:17 2015 +1000
fix standard issues
---
sha.js | 3 ++-
sha1.js | 3 ++-
sha512.js | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sha.js b/sha.js
index 8bcb637..2a1e87c 100644
--- a/sha.js
+++ b/sha.js
@@ -46,7 +46,8 @@ Sha.prototype._update = function (M) {
var d = this._d
var e = this._e
- var j = 0, k
+ var j = 0
+ var k
/*
* SHA-1 has a bitwise rotate left operation. But, SHA is not
diff --git a/sha1.js b/sha1.js
index 16f1266..6164be7 100644
--- a/sha1.js
+++ b/sha1.js
@@ -47,7 +47,8 @@ Sha1.prototype._update = function (M) {
var d = this._d
var e = this._e
- var j = 0, k
+ var j = 0
+ var k
function calcW () { return rol(W[j - 3] ^ W[j - 8] ^ W[j - 14] ^ W[j - 16], 1) }
function loop (w, f) {
diff --git a/sha512.js b/sha512.js
index c663c63..62618cd 100644
--- a/sha512.js
+++ b/sha512.js
@@ -110,7 +110,8 @@ Sha512.prototype._update = function (M) {
var gl = this._gl | 0
var hl = this._hl | 0
- var i = 0, j = 0
+ var i = 0
+ var j = 0
var Wi, Wil
function calcW () {
var x = W[j - 15 * 2]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-sha.js.git
More information about the Pkg-javascript-commits
mailing list