index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-08-20 12:55:38 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-08-20 12:58:17 -0400 |
commit | 942175feaa866c4e536a7da0f77ab54de98b6c07 (patch) | |
tree | db190135ad82672a1b0dc3328500ce49c5dd0023 /lib/libalpm/md5.c | |
parent | 3acbf56bbab128d8ef037a7dcc87d91fe7354d14 (diff) |
-rw-r--r-- | lib/libalpm/md5.c | 6 |
diff --git a/lib/libalpm/md5.c b/lib/libalpm/md5.c index 7cb003f0..8d6fe049 100644 --- a/lib/libalpm/md5.c +++ b/lib/libalpm/md5.c @@ -32,6 +32,10 @@ * * removal of HMAC code * * removal of SELF_TEST code * * removal of ipad and opad from the md5_context struct in md5.h + * * change of md5_file prototype from + * int md5_file( char *path, unsigned char *output ) + * to + * int md5_file( const char *path, unsigned char *output ) */ #ifndef _CRT_SECURE_NO_DEPRECATE @@ -301,7 +305,7 @@ void md5( unsigned char *input, int ilen, /* * Output = MD5( file contents ) */ -int md5_file( char *path, unsigned char *output ) +int md5_file( const char *path, unsigned char *output ) { FILE *f; size_t n; |