diff options
author | Linus Nordberg <linus@nordberg.se> | 2013-05-08 20:21:18 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2013-05-08 20:21:18 +0200 |
commit | 68c9e3104d83febbcdb97cead0b8b6bfb6576d89 (patch) | |
tree | 995f87a30a7109f1ab9ebe2fb290545c6e5e1c89 /lib/md5.h | |
parent | 82c9dd49e981943c3c9af192b3023b141efc6f6b (diff) |
Constify the MD5 implementation.
Diffstat (limited to 'lib/md5.h')
-rw-r--r-- | lib/md5.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |