aboutsummaryrefslogtreecommitdiff
path: root/lib/ext2fs/sha512.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext2fs/sha512.c')
-rw-r--r--lib/ext2fs/sha512.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/sha512.c b/lib/ext2fs/sha512.c
index fe2dd52e..f246afb5 100644
--- a/lib/ext2fs/sha512.c
+++ b/lib/ext2fs/sha512.c
@@ -185,7 +185,7 @@ static void sha512_done(struct hash_state * md, unsigned char *out)
md->sha512.curlen = 0;
}
- /* pad upto 120 bytes of zeroes note: that from 112 to 120 is the 64 MSB
+ /* pad up to 120 bytes of zeroes note: that from 112 to 120 is the 64 MSB
* of the length. We assume that you won't hash > 2^64 bits of data. */
while (md->sha512.curlen < 120) {
md->sha512.buf[md->sha512.curlen++] = (unsigned char)0;