aboutsummaryrefslogtreecommitdiffstats
path: root/vala
diff options
context:
space:
mode:
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 */