Add NDPI_PROTOCOL_DANGEROUS classification

This commit is contained in:
emanuele-f
2019-08-09 10:04:56 +02:00
parent 90547c4fd2
commit f73dc61ff8
3 changed files with 7 additions and 5 deletions
+4 -3
View File
@@ -1243,9 +1243,10 @@ void ndpi_search_tls_tcp_udp(struct ndpi_detection_module_struct *ndpi_struct,
if(packet->udp != NULL) {
/* DTLS dissector */
int rc;
rc = sslTryAndRetrieveServerCertificate(ndpi_struct, flow);
#ifdef DEBUG_TLS
int rc = /* sslTryAndRetrieveServerCertificate(...) */
#endif
sslTryAndRetrieveServerCertificate(ndpi_struct, flow);
#ifdef DEBUG_TLS
printf("==>> %u [rc: %u][len: %u][%s][version: %u]\n",