Invalid TLS check

This commit is contained in:
Luca Deri
2020-05-12 12:25:07 +02:00
parent cd765c08d6
commit f7f705406f
+1 -1
View File
@@ -451,7 +451,7 @@ static void processCertificateElements(struct ndpi_detection_module_struct *ndpi
if(rdn_len) flow->protos.stun_ssl.ssl.subjectDN = strdup(rdnSeqBuf);
if(flow->protos.stun_ssl.ssl.subjectDN && flow->protos.stun_ssl.ssl.subjectDN
if(flow->protos.stun_ssl.ssl.subjectDN && flow->protos.stun_ssl.ssl.issuerDN
&& (!strcmp(flow->protos.stun_ssl.ssl.subjectDN, flow->protos.stun_ssl.ssl.issuerDN)))
NDPI_SET_BIT_16(flow->risk, NDPI_TLS_SELFSIGNED_CERTIFICATE);