diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-02-19 11:11:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 11:11:57 +0100 |
commit | ffd6c3edee4a089d46b84fe66bf360c3500f34a8 (patch) | |
tree | 4d48be3d8517e7a57dc113407740d78d35f0918e /src | |
parent | 23536ff77a5175797d419470755d3904997927ab (diff) |
TLS: fix disabling of JA3C fingerprint (#2319)
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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<ja.client.num_ciphers; i++) { |