aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-01-17 22:03:39 +0100
committerLuca Deri <deri@ntop.org>2019-01-17 22:03:39 +0100
commit7efe1f06eedbdfbdc316d330f746c47391be8f78 (patch)
treefee9cb41ad9620cb280240593ea27d9fec193dcc /src
parent85155d589980192a9761a7fc3ef07b90491cad87 (diff)
Removed debug code
Diffstat (limited to 'src')
-rw-r--r--src/lib/protocols/ssl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/protocols/ssl.c b/src/lib/protocols/ssl.c
index ac31fb715..4651b358f 100644
--- a/src/lib/protocols/ssl.c
+++ b/src/lib/protocols/ssl.c
@@ -626,10 +626,6 @@ void ndpi_search_ssl_tcp(struct ndpi_detection_module_struct *ndpi_struct, struc
struct ndpi_packet_struct *packet = &flow->packet;
u_int8_t ret;
- if(flow->packet.tcp && (5222 == ntohs(flow->packet.tcp->dest)))
- printf("%u - %u\n", ntohs(flow->packet.tcp->source), ntohs(flow->packet.tcp->dest));
-
-
if(packet->detected_protocol_stack[0] == NDPI_PROTOCOL_SSL) {
if(flow->l4.tcp.ssl_stage == 3 && packet->payload_packet_len > 20 && flow->packet_counter < 5) {
/* this should only happen, when we detected SSL with a packet that had parts of the certificate in subsequent packets