diff options
author | Luca Deri <deri@ntop.org> | 2015-11-23 10:07:19 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2015-11-23 10:07:19 +0100 |
commit | 08ca34f5d0fe397a1840fda46a1e14b86fff6ab9 (patch) | |
tree | ac0f2a9889113848c25031499e31493593500841 /src | |
parent | a46c12c01486f084e6474701c973f004fbaf5bcb (diff) |
Fix for #119
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/ssl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/protocols/ssl.c b/src/lib/protocols/ssl.c index b113bf197..bc0aa4f3c 100644 --- a/src/lib/protocols/ssl.c +++ b/src/lib/protocols/ssl.c @@ -288,8 +288,6 @@ int getSSLcertificate(struct ndpi_detection_module_struct *ndpi_struct, int sslDetectProtocolFromCertificate(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { struct ndpi_packet_struct *packet = &flow->packet; - if(!packet->iph /* IPv4 */) return(-1); - if((packet->payload_packet_len > 9) && (packet->payload[0] == 0x16 /* consider only specific SSL packets (handshake) */)) { if((packet->detected_protocol_stack[0] == NDPI_PROTOCOL_UNKNOWN) |