[Pkg-javascript-commits] [node-browserify-aes] 07/43: aes: unnecessary comment

Bastien Roucariès rouca at moszumanska.debian.org
Thu Sep 7 14:41:56 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-browserify-aes.

commit 6704da6d8b422ac57cc7cbe03988ed81de60db29
Author: Daniel Cousens <dcousens at users.noreply.github.com>
Date:   Mon Apr 24 20:52:35 2017 +1000

    aes: unnecessary comment
---
 aes.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aes.js b/aes.js
index 5ce97eb..91d18cf 100644
--- a/aes.js
+++ b/aes.js
@@ -10,6 +10,7 @@ function fixup_uint32 (x) {
   ret = x > uint_max || x < 0 ? (x_pos = Math.abs(x) % uint_max, x < 0 ? uint_max - x_pos : x_pos) : x
   return ret
 }
+
 function scrub_vec (v) {
   for (var i = 0; i < v.length; v++) {
     v[i] = 0
@@ -81,7 +82,6 @@ AES.keySize = 256 / 8
 AES.prototype.keySize = AES.keySize
 
 function bufferToArray (buf) {
-  // Convert unexpected float to int
   var len = (buf.length / 4) | 0
   var out = new Array(len)
   for (var i = 0; i < len; i++) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browserify-aes.git



More information about the Pkg-javascript-commits mailing list