summaryrefslogtreecommitdiff
path: root/lib/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/md5.c')
-rw-r--r--lib/md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/md5.c b/lib/md5.c
index 90d7566..762fdb7 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -49,7 +49,7 @@ void md5_starts( md5_context *ctx )
ctx->state[3] = 0x10325476;
}
-void md5_process( md5_context *ctx, uint8 data[64] )
+void md5_process( md5_context *ctx, const uint8 data[64] )
{
uint32 X[16], A, B, C, D;
@@ -172,7 +172,7 @@ void md5_process( md5_context *ctx, uint8 data[64] )
ctx->state[3] += D;
}
-void md5_update( md5_context *ctx, uint8 *input, uint32 length )
+void md5_update( md5_context *ctx, const uint8 *input, uint32 length )
{
uint32 left, fill;