[Pkg-javascript-commits] [node-sha.js] 73/237: use _blockLength property

Bastien Roucariès rouca at moszumanska.debian.org
Fri May 5 09:03:36 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 fdf10309e4334347e8f668d6ec6d25ea16856f8e
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Tue Dec 31 18:33:49 2013 +0700

    use _blockLength property
---
 hash.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hash.js b/hash.js
index 9fafe53..fcd8066 100644
--- a/hash.js
+++ b/hash.js
@@ -63,7 +63,7 @@ Hash.prototype.update = function (data, enc) {
 
 Hash.prototype.digest = function (enc) {
   //how much message is leftover
-  var bl = this._block.byteLength
+  var bl = this._blockSize
   var fl = this._finalSize
   var len = this._len*8
 

-- 
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