diff options
author | Nardi Ivan <nardi.ivan@gmail.com> | 2022-09-27 20:01:32 +0200 |
---|---|---|
committer | Toni <matzeton@googlemail.com> | 2022-09-30 06:53:29 +0200 |
commit | f3a74d97d845d07628533717666637e1630aa1ed (patch) | |
tree | cb7192a695752d9b13aa7154179110c5ba576388 /example/reader_util.c | |
parent | fbf30d1aadb8c475f43084a8e71aa77fd203068e (diff) |
TLS/DTLS: we process certificate for UDP flows, too
Note that current code access `certificate_processed` state even before
setting the protocol classification, so this piece of information can't
be saved in `flow->protos` union.
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 927d22ab2..7c19b31cb 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1239,7 +1239,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl flow->ssh_tls.server_unsafe_cipher = flow->ndpi_flow->protos.tls_quic.server_unsafe_cipher; flow->ssh_tls.server_cipher = flow->ndpi_flow->protos.tls_quic.server_cipher; - if(flow->ndpi_flow->l4.tcp.tls.fingerprint_set) { + if(flow->ndpi_flow->protos.tls_quic.fingerprint_set) { memcpy(flow->ssh_tls.sha1_cert_fingerprint, flow->ndpi_flow->protos.tls_quic.sha1_certificate_fingerprint, 20); flow->ssh_tls.sha1_cert_fingerprint_set = 1; |