aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ssl.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-01-17 00:41:05 +0100
committerLuca Deri <deri@ntop.org>2019-01-17 00:41:05 +0100
commitd088a968a97c9c6a70357278c1f7a87567188328 (patch)
tree9e25c68d82e07cea234abfe49db820b2d21a3c41 /src/lib/protocols/ssl.c
parentefef99cbadc8ddd6f6743e04d184fe240d6eb334 (diff)
parentf3b0878a37d252f0a9300eab7a7df28d64146211 (diff)
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
Diffstat (limited to 'src/lib/protocols/ssl.c')
-rw-r--r--src/lib/protocols/ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/ssl.c b/src/lib/protocols/ssl.c
index 785ffa70d..ac31fb715 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;