Reworked TLS fingerprint calcolation

Modified TLS memory free
This commit is contained in:
Luca Deri
2021-01-21 19:06:05 +01:00
parent 399755607d
commit 15295ef4c5
5 changed files with 19 additions and 29 deletions
+1 -1
View File
@@ -1164,7 +1164,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
if(flow->ndpi_flow->l4.tcp.tls.fingerprint_set) {
memcpy(flow->ssh_tls.sha1_cert_fingerprint,
flow->ndpi_flow->l4.tcp.tls.sha1_certificate_fingerprint, 20);
flow->ndpi_flow->protos.stun_ssl.ssl.sha1_certificate_fingerprint, 20);
flow->ssh_tls.sha1_cert_fingerprint_set = 1;
}