Reworked TLS fingerprint calcolation
Modified TLS memory free
This commit is contained in:
+8
-13
@@ -6341,19 +6341,14 @@ void ndpi_free_flow_data(struct ndpi_flow_struct *flow) {
|
||||
if(flow->protos.stun_ssl.ssl.tls_supported_versions)
|
||||
ndpi_free(flow->protos.stun_ssl.ssl.tls_supported_versions);
|
||||
|
||||
if(!is_quic) {
|
||||
if(flow->protos.stun_ssl.ssl.issuerDN)
|
||||
ndpi_free(flow->protos.stun_ssl.ssl.issuerDN);
|
||||
|
||||
if(flow->protos.stun_ssl.ssl.subjectDN)
|
||||
ndpi_free(flow->protos.stun_ssl.ssl.subjectDN);
|
||||
|
||||
if(flow->l4.tcp.tls.srv_cert_fingerprint_ctx)
|
||||
ndpi_free(flow->l4.tcp.tls.srv_cert_fingerprint_ctx);
|
||||
|
||||
if(flow->protos.stun_ssl.ssl.encrypted_sni.esni)
|
||||
ndpi_free(flow->protos.stun_ssl.ssl.encrypted_sni.esni);
|
||||
}
|
||||
if(flow->protos.stun_ssl.ssl.issuerDN)
|
||||
ndpi_free(flow->protos.stun_ssl.ssl.issuerDN);
|
||||
|
||||
if(flow->protos.stun_ssl.ssl.subjectDN)
|
||||
ndpi_free(flow->protos.stun_ssl.ssl.subjectDN);
|
||||
|
||||
if(flow->protos.stun_ssl.ssl.encrypted_sni.esni)
|
||||
ndpi_free(flow->protos.stun_ssl.ssl.encrypted_sni.esni);
|
||||
}
|
||||
|
||||
if(flow->l4_proto == IPPROTO_TCP) {
|
||||
|
||||
Reference in New Issue
Block a user