mirror of https://github.com/OISF/suricata
util-file: fix error logic in hash computation
This patch fixes an issue with hash computation resulting in the invalidity of at least one hash when at least two different hashes functions were used. Impact was setting as `force-hash: [md5, sha256]` not to be valid. Also it could lead to false negative if too different hash functions had to be used on a single file due to signatures.pull/2499/head
parent
20111cab23
commit
0d5fd0f658
Loading…
Reference in New Issue