Skip to content

Commit

Permalink
tls: fix duplicate EVE field (issuerdn)
Browse files Browse the repository at this point in the history
Wrong function call caused `issuerdn` to be logged when
`subjectaltname` was enabled, for custom logging, only.

Bug OISF#7332
  • Loading branch information
jufajardini authored and victorjulien committed Oct 17, 2024
1 parent 2eefc4d commit 69fe512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output-json-tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ static void JsonTlsLogJSONCustom(OutputTlsCtx *tls_ctx, JsonBuilder *js,

/* tls subjectaltname */
if (tls_ctx->fields & LOG_TLS_FIELD_SUBJECTALTNAME)
JsonTlsLogIssuer(js, ssl_state);
JsonTlsLogSAN(js, ssl_state);

/* tls session resumption */
if (tls_ctx->fields & LOG_TLS_FIELD_SESSION_RESUMED)
Expand Down

0 comments on commit 69fe512

Please sign in to comment.