Fix MD5 hashing for x86_64

This commit is contained in:
dhewg 2011-12-10 18:51:01 +01:00 committed by Daniel Gibson
parent ed4ee5a9f3
commit cabae31075
2 changed files with 4 additions and 4 deletions

View file

@ -257,9 +257,9 @@ void MD5_Final( MD5_CTX *ctx, unsigned char digest[16] ) {
MD5_BlockChecksum
===============
*/
unsigned long MD5_BlockChecksum( const void *data, int length ) {
unsigned long digest[4];
unsigned long val;
unsigned int MD5_BlockChecksum( const void *data, int length ) {
unsigned int digest[4];
unsigned int val;
MD5_CTX ctx;
MD5_Init( &ctx );

View file

@ -10,6 +10,6 @@
===============================================================================
*/
unsigned long MD5_BlockChecksum( const void *data, int length );
unsigned int MD5_BlockChecksum( const void *data, int length );
#endif /* !__MD5_H__ */