Warnign fixes

Updated test results
This commit is contained in:
Luca Deri
2019-01-17 00:39:45 +01:00
parent c856e0a563
commit f3b0878a37
10 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -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;