Skip to content
Snippets Groups Projects
Commit 4c70261b authored by Brian Carrier's avatar Brian Carrier
Browse files

fixes #884 with correct enum value

parent f73be459
No related branches found
No related tags found
No related merge requests found
...@@ -651,7 +651,7 @@ tsk_fs_file_hash_calc(TSK_FS_FILE * a_fs_file, ...@@ -651,7 +651,7 @@ tsk_fs_file_hash_calc(TSK_FS_FILE * a_fs_file,
TSK_MD5_Final(a_hash_results->md5_digest, TSK_MD5_Final(a_hash_results->md5_digest,
&(hash_data.md5_context)); &(hash_data.md5_context));
} }
if (a_flags & TSK_BASE_HASH_MD5) { if (a_flags & TSK_BASE_HASH_SHA1) {
TSK_SHA_Final(a_hash_results->sha1_digest, TSK_SHA_Final(a_hash_results->sha1_digest,
&(hash_data.sha1_context)); &(hash_data.sha1_context));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment