projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New module 'unicase/u32-is-titlecase'.
[pspp]
/
lib
/
sha256.c
diff --git
a/lib/sha256.c
b/lib/sha256.c
index a1362caec8c20d53ab08f81765f27e3074ab68e0..0ad9444351fbff98706303bdb41a48e99a441732 100644
(file)
--- a/
lib/sha256.c
+++ b/
lib/sha256.c
@@
-126,7
+126,7
@@
static void
sha256_conclude_ctx (struct sha256_ctx *ctx)
{
/* Take yet unprocessed bytes into account. */
-
uint32
_t bytes = ctx->buflen;
+
size
_t bytes = ctx->buflen;
size_t size = (bytes < 56) ? 64 / 4 : 64 * 2 / 4;
/* Now count remaining bytes. */