diff options
author | Luca Deri <deri@ntop.org> | 2020-01-05 18:42:36 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-01-05 18:42:36 +0100 |
commit | d1fb41a161e648b63babc29ee9ecd7aee4f416fc (patch) | |
tree | b5340ded2cb4aec132be8d1b64b11fbc65838c86 /src/lib/protocols/tls.c | |
parent | ef16591f3f9d2673dfacf1c715c2e10dcd1da248 (diff) |
Minor cleanup
Diffstat (limited to 'src/lib/protocols/tls.c')
-rw-r--r-- | src/lib/protocols/tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c index 737585db4..e87262e87 100644 --- a/src/lib/protocols/tls.c +++ b/src/lib/protocols/tls.c @@ -625,7 +625,7 @@ static int ndpi_search_tls_tcp(struct ndpi_detection_module_struct *ndpi_struct, static int ndpi_search_tls_udp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { struct ndpi_packet_struct *packet = &flow->packet; - u_int8_t handshake_type; + // u_int8_t handshake_type; u_int32_t handshake_len; u_int16_t p_len; const u_int8_t *p; @@ -651,7 +651,7 @@ static int ndpi_search_tls_udp(struct ndpi_detection_module_struct *ndpi_struct, return(0); /* Giveup */ } - handshake_type = packet->payload[13]; + // handshake_type = packet->payload[13]; handshake_len = (packet->payload[14] << 16) + (packet->payload[15] << 8) + packet->payload[16]; if((handshake_len+25) != packet->payload_packet_len) |