summaryrefslogtreecommitdiffstats
path: root/chksums/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'chksums/sha256.c')
-rw-r--r--chksums/sha256.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/chksums/sha256.c b/chksums/sha256.c
index 7c0cff73..a7d0e9d4 100644
--- a/chksums/sha256.c
+++ b/chksums/sha256.c
@@ -263,11 +263,10 @@ void SHA256_init(SHA256_t *ctx)
}
/* Add bytes into the hash */
-void SHA256_update(SHA256_t *ctx, const void *in, size_t len)
+void SHA256_update(SHA256_t *ctx, const unsigned char *src, size_t len)
{
u64_t bitlen;
u32_t r;
- const unsigned char *src = in;
/* Number of bytes left in the buffer from previous updates */
r = (ctx->count >> 3) & 0x3f;