aboutsummaryrefslogtreecommitdiffstats
path: root/vala
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-05-03 02:58:03 +0200
committerMattias Andrée <maandree@operamail.com>2013-05-03 02:58:03 +0200
commit5a5cd0cc1ca1698972d2ea93af88a62de8c7eab0 (patch)
tree125c022086e9383156ea2101957c25ecd831b9a3 /vala
parentapply change made to pure-java to other versions (diff)
downloadsha3sum-5a5cd0cc1ca1698972d2ea93af88a62de8c7eab0.tar.gz
sha3sum-5a5cd0cc1ca1698972d2ea93af88a62de8c7eab0.tar.bz2
sha3sum-5a5cd0cc1ca1698972d2ea93af88a62de8c7eab0.tar.xz
apply change made to pure-java to other versions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'vala')
-rw-r--r--vala/sha3sum.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/sha3sum.vala b/vala/sha3sum.vala
index c42d6d5..da2e2b7 100644
--- a/vala/sha3sum.vala
+++ b/vala/sha3sum.vala
@@ -511,7 +511,7 @@ class SHA3 : Object
int ptr = 0;
int rr = this.r >> 3;
- int nn = this.n >> 3;
+ int nn = (this.n + 7) >> 3;
int ww = this.w >> 3;
/* Absorbing phase */