]> git.ipfire.org Git - thirdparty/suricata.git/commit
tls-log: fix so buffer is reset on custom logging 4435/head
authorMats Klepsland <mats.klepsland@gmail.com>
Thu, 19 Sep 2019 21:10:48 +0000 (23:10 +0200)
committerJason Ish <jason.ish@oisf.net>
Tue, 10 Dec 2019 15:07:16 +0000 (09:07 -0600)
commit58e6c0afedf00f686f44a3f473863311fbc55bf3
tree9ef6f7bfa4198c035a1c2783343062ea7bfb988f
parent19b04cd9f3ad99eb8d2135f16bdbb4d26fb617e7
tls-log: fix so buffer is reset on custom logging

Move MemBufferReset() so it also works when using custom tls
logging. This avoids duplicate tls log entries.

Bug #3177
src/log-tlslog.c