Bumped version to V's 0.3

This commit is contained in:
2015-05-24 23:26:34 +01:00
parent b5e1635fe3
commit 09b4a69b6a
11 changed files with 570 additions and 91 deletions

4
md5.c
View File

@@ -89,7 +89,7 @@
* This processes one or more 64-byte data blocks, but does NOT update
* the bit counters. There are no alignment requirements.
*/
static void *body(MD5_CTX *ctx, void *data, unsigned long size)
static void *body(MD5_CTX *ctx, const void *data, unsigned long size)
{
unsigned char *ptr;
MD5_u32plus a, b, c, d;
@@ -207,7 +207,7 @@ void MD5_Init(MD5_CTX *ctx)
ctx->hi = 0;
}
void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size)
void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size)
{
MD5_u32plus saved_lo;
unsigned long used, free;