diff options
author | Luca Deri <deri@ntop.org> | 2020-05-07 18:44:51 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-05-07 18:44:51 +0200 |
commit | 4a09b4efa053a26e187119a540da4b41dd8a24d8 (patch) | |
tree | 71cf15d44e184b3a4f21e512465dbd01abdd2c23 /src/lib/ndpi_main.c | |
parent | fd646bd05ffee4f0da9eaf55ad9e581770ecb099 (diff) |
Added TLS issuerDN and subjectDN
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index ed2d5995b..db5e14778 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -5976,6 +5976,12 @@ void ndpi_free_flow(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(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); } |