From 68c9e3104d83febbcdb97cead0b8b6bfb6576d89 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 8 May 2013 20:21:18 +0200 Subject: Constify the MD5 implementation. --- lib/md5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/md5.h') diff --git a/lib/md5.h b/lib/md5.h index f1a6857..2da44bf 100644 --- a/lib/md5.h +++ b/lib/md5.h @@ -39,7 +39,7 @@ typedef struct { } MD5_CTX; extern void MD5_Init(MD5_CTX *ctx); -extern void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size); +extern void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size); extern void MD5_Final(unsigned char *result, MD5_CTX *ctx); #endif -- cgit v1.1