]> git.ipfire.org Git - thirdparty/suricata.git/commit
file extract: force sha256 even if truncated
authorJason Ish <ish@unx.ca>
Mon, 8 Jan 2018 19:39:56 +0000 (13:39 -0600)
committerJason Ish <ish@unx.ca>
Thu, 18 Jan 2018 13:26:29 +0000 (07:26 -0600)
commitf631e8cd906d26a9c9ecdc3f5c9e0c3f8d1f05dd
tree59b07a00ee739472cdb5d4b1e52cddd1395142f5
parent4a9731505717cab8a0fbc68f6a649dfb005c0120
file extract: force sha256 even if truncated

Even if a file is truncated, force the SHA256 if force sha256
is set to yes.

The new file store requires the sha256 regardless of the file
state if it is to be logged, as the filename is based on the
sha256.
src/util-file.c