diff options
author | Luca <deri@ntop.org> | 2019-09-20 18:47:39 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2019-09-20 18:47:39 +0200 |
commit | bdcc6dc173c52d17a1d4b5b7f16e7e4454a91044 (patch) | |
tree | 0638e5219eca6e5d7f0d3dd07707052134c88506 /src/lib/protocols/tls.c | |
parent | f9716c5139faa9431bb37a83815b404c75ca12ac (diff) |
STUN protocol dissector code cleanup
Diffstat (limited to 'src/lib/protocols/tls.c')
-rw-r--r-- | src/lib/protocols/tls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c index 5be39c714..f63da2067 100644 --- a/src/lib/protocols/tls.c +++ b/src/lib/protocols/tls.c @@ -628,7 +628,7 @@ int getTLScertificate(struct ndpi_detection_module_struct *ndpi_struct, u_int8_t version_len = packet->payload[offset+4]; if(version_len == (extension_len-1)) { - /* Sanity check */ +#ifdef DEBUG_TLS u_int8_t j; for(j=0; j<version_len; j += 2) { @@ -636,6 +636,7 @@ int getTLScertificate(struct ndpi_detection_module_struct *ndpi_struct, printf("Client SSL [TLS version: 0x%04X]\n", tls_version); } +#endif } } |