...
|
...
|
@@ -836,7 +836,7 @@ int cli_fmap_scandesc(cli_ctx *ctx, cli_file_t ftype, uint8_t ftonly, struct cli
|
836
|
836
|
if(compute_hash[hashtype] &&
|
837
|
837
|
(ret = cli_hm_scan(digest[hashtype], map->len, &virname, hdb, hashtype)) == CL_VIRUS) {
|
838
|
838
|
if(fp) {
|
839
|
|
- for(hashtype2 = CLI_HASH_MD5; hashtype < CLI_HASH_AVAIL_TYPES; hashtype2++) {
|
|
839
|
+ for(hashtype2 = CLI_HASH_MD5; hashtype2 < CLI_HASH_AVAIL_TYPES; hashtype2++) {
|
840
|
840
|
if(compute_hash[hashtype2] &&
|
841
|
841
|
cli_hm_scan(digest[hashtype2], map->len, NULL, fp, hashtype2) == CL_VIRUS) {
|
842
|
842
|
ret = CL_CLEAN;
|