From ffd6c3edee4a089d46b84fe66bf360c3500f34a8 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:11:57 +0100 Subject: TLS: fix disabling of JA3C fingerprint (#2319) --- src/lib/protocols/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols') diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c index 5defd3820..be9859de0 100644 --- a/src/lib/protocols/tls.c +++ b/src/lib/protocols/tls.c @@ -2745,6 +2745,7 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct, if(!invalid_ja) { /* Compute JA3 client */ +compute_ja3c: if(ndpi_struct->cfg.tls_ja3c_fingerprint_enabled) { int rc; u_int16_t ja_str_len; @@ -2752,7 +2753,6 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct, ndpi_MD5_CTX ctx; u_char md5_hash[16]; -compute_ja3c: ja_str_len = ndpi_snprintf(ja_str, JA_STR_LEN, "%u,", ja.client.tls_handshake_version); for(i=0; i