diff options
-rw-r--r-- | digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ libsha2_digest(struct libsha2_state *restrict state, const void *message_, size_ if (msglen & ~(size_t)7) { libsha2_update(state, message, msglen & ~(size_t)7); - message += msglen & ~(size_t)7; + message += msglen >> 3; msglen &= (size_t)7; } |