TLS cerficate hash calculation

This commit is contained in:
Luca Deri
2019-09-14 12:38:58 +02:00
parent d7c2ced475
commit 659f75138c
7 changed files with 552 additions and 79 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ void ndpi_search_tor(struct ndpi_detection_module_struct *ndpi_struct, struct nd
NDPI_LOG_DBG(ndpi_struct, "search for TOR\n");
if((packet->tcp != NULL)
&& (!packet->ssl_certificate_detected)) {
&& (!packet->tls_certificate_detected)) {
u_int16_t dport, sport;
sport = ntohs(packet->tcp->source), dport = ntohs(packet->tcp->dest);