diff options
author | Luca Deri <deri@ntop.org> | 2019-01-17 00:39:45 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-01-17 00:39:45 +0100 |
commit | f3b0878a37d252f0a9300eab7a7df28d64146211 (patch) | |
tree | 03d520abd3788b30e4f058cd04b0afe312352fab /src/lib/protocols/ssl.c | |
parent | c856e0a56384ae9d145282d0eb6f8b97f54913fb (diff) |
Warnign fixes
Updated test results
Diffstat (limited to 'src/lib/protocols/ssl.c')
-rw-r--r-- | src/lib/protocols/ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/ssl.c b/src/lib/protocols/ssl.c index 25d535a57..4651b358f 100644 --- a/src/lib/protocols/ssl.c +++ b/src/lib/protocols/ssl.c @@ -559,7 +559,7 @@ static u_int8_t ndpi_search_sslv3_direction1(struct ndpi_detection_module_struct } } - if((packet->payload_packet_len > temp && packet->payload_packet_len > 100) && packet->payload_packet_len > 9) { + if((packet->payload_packet_len > temp) && (packet->payload_packet_len > 100)) { /* the server hello may be split into small packets and the certificate has its own SSL Record * so temp contains only the length for the first ServerHello block */ u_int32_t cert_start; |