diff options
author | Eugene Sandulenko | 2004-12-22 13:34:28 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-12-22 13:34:28 +0000 |
commit | 7606a53f09a06f33fb5953c55bf3b488d6f5119a (patch) | |
tree | 6a3da91b956e20d9d519b6971831b255c2bc7f80 /common/md5.h | |
parent | 2fb8a8e45369b000b9f36d2433425ca48f6d9d13 (diff) | |
download | scummvm-rg350-7606a53f09a06f33fb5953c55bf3b488d6f5119a.tar.gz scummvm-rg350-7606a53f09a06f33fb5953c55bf3b488d6f5119a.tar.bz2 scummvm-rg350-7606a53f09a06f33fb5953c55bf3b488d6f5119a.zip |
Now it is possible to count MD5 only for specified amount of bytes from file.
It is useful for MD5'ing hunge files.
svn-id: r16259
Diffstat (limited to 'common/md5.h')
-rw-r--r-- | common/md5.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/md5.h b/common/md5.h index fe83ebda84..4fc453f086 100644 --- a/common/md5.h +++ b/common/md5.h @@ -35,6 +35,6 @@ void md5_starts( md5_context *ctx ); void md5_update( md5_context *ctx, const uint8 *input, uint32 length ); void md5_finish( md5_context *ctx, uint8 digest[16] ); -bool md5_file( const char *name, uint8 digest[16], const char *directory = NULL ); +bool md5_file( const char *name, uint8 digest[16], const char *directory = NULL, uint32 length = 0 ); #endif |