From 714ada136c69506c55ae7be29acdae73271d0500 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Thu, 17 Oct 2024 10:30:38 -0600 Subject: [PATCH] eve/tls: cleanup headers; update copyright year --- src/output-json-tls.c | 29 ++++++++--------------------- src/output-json-tls.h | 5 +++-- 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/src/output-json-tls.c b/src/output-json-tls.c index f6728650d2..cb45a15936 100644 --- a/src/output-json-tls.c +++ b/src/output-json-tls.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2021 Open Information Security Foundation +/* Copyright (C) 2007-2024 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -24,32 +24,19 @@ */ #include "suricata-common.h" -#include "detect.h" -#include "pkt-var.h" -#include "conf.h" - -#include "threads.h" -#include "threadvars.h" -#include "tm-threads.h" - -#include "util-print.h" -#include "util-time.h" -#include "util-unittest.h" -#include "util-debug.h" #include "app-layer-parser.h" -#include "output.h" #include "app-layer-ssl.h" #include "app-layer.h" -#include "util-privs.h" -#include "util-buffer.h" - -#include "util-logopenfile.h" +#include "conf.h" +#include "output-json-tls.h" +#include "output-json.h" +#include "output.h" +#include "threadvars.h" +#include "util-debug.h" #include "util-ja3.h" #include "util-ja4.h" - -#include "output-json.h" -#include "output-json-tls.h" +#include "util-time.h" SC_ATOMIC_EXTERN(unsigned int, cert_id); diff --git a/src/output-json-tls.h b/src/output-json-tls.h index effa9f1c39..8bd9f34d6a 100644 --- a/src/output-json-tls.h +++ b/src/output-json-tls.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2012 Open Information Security Foundation +/* Copyright (C) 2007-2024 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -26,7 +26,8 @@ void JsonTlsLogRegister(void); -#include "app-layer-ssl.h" +/* For JsonBuilder. */ +#include "rust.h" bool JsonTlsLogJSONExtended(void *vtx, JsonBuilder *js);