diff options
Diffstat (limited to 'src/lib/protocols')
-rw-r--r-- | src/lib/protocols/tls.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c index 82caf0584..b413cd262 100644 --- a/src/lib/protocols/tls.c +++ b/src/lib/protocols/tls.c @@ -653,8 +653,7 @@ void processCertificateElements(struct ndpi_detection_module_struct *ndpi_struct if(matched_name == 0) { #if DEBUG_TLS printf("[TLS] Trying to match '%s' with '%s'\n", - flow->host_server_name, - dNSName); + flow->host_server_name, dNSName); #endif if(dNSName[0] == '*') { @@ -667,8 +666,7 @@ void processCertificateElements(struct ndpi_detection_module_struct *ndpi_struct matched_name = 1; } } - } - else if(strcmp(flow->host_server_name, dNSName) == 0) { + } else if(strcmp(flow->host_server_name, dNSName) == 0) { matched_name = 1; } } |