]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve/tls: minor cleanups
authorVictor Julien <victor@inliniac.net>
Mon, 27 Jul 2020 17:28:22 +0000 (19:28 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 28 Jul 2020 09:34:32 +0000 (11:34 +0200)
src/output-json-tls.c

index 785128cac38ea3470278218ad3cccb947cda1f2a..dc589d84fe20d044f7ad37296411e8c9989ab57b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2012 Open Information Security Foundation
+/* Copyright (C) 2007-2020 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
@@ -191,7 +191,7 @@ static void JsonTlsLogNotAfter(JsonBuilder *js, SSLState *ssl_state)
         tv.tv_sec = ssl_state->server_connp.cert0_not_after;
         tv.tv_usec = 0;
         CreateUtcIsoTimeString(&tv, timebuf, sizeof(timebuf));
-       jb_set_string(js, "notafter", timebuf);
+        jb_set_string(js, "notafter", timebuf);
     }
 }
 
@@ -652,4 +652,4 @@ void JsonTlsLogRegister (void)
         "JsonTlsLog", "eve-log.tls", OutputTlsLogInitSub, ALPROTO_TLS,
         JsonTlsLogger, TLS_HANDSHAKE_DONE, TLS_HANDSHAKE_DONE,
         JsonTlsLogThreadInit, JsonTlsLogThreadDeinit, NULL);
-}
+}
\ No newline at end of file