TLS initializes version_str
This commit is contained in:
@@ -1105,7 +1105,7 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,
|
|||||||
u_int8_t version_len = packet->payload[s_offset];
|
u_int8_t version_len = packet->payload[s_offset];
|
||||||
char version_str[256];
|
char version_str[256];
|
||||||
u_int8_t version_str_len = 0;
|
u_int8_t version_str_len = 0;
|
||||||
|
version_str[0] = 0;
|
||||||
#ifdef DEBUG_TLS
|
#ifdef DEBUG_TLS
|
||||||
printf("Client SSL [TLS version len: %u]\n", version_len);
|
printf("Client SSL [TLS version len: %u]\n", version_len);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user