From 55880e4ae4cb651f54a9531ba9732977d9dd517f Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 2 Nov 2021 22:08:15 +0100 Subject: TLS: fix two warnings (#1365) Disable unit tests on CI for big-endian target. We know we have multiple issues on big-endian architectures (see #1312) and so the unit tests always fail there. Ignore this error for the time being and let the CI pass if we don't have other issues. Remove an unused automa definition --- src/lib/protocols/tls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c index 301ea1937..5b2941405 100644 --- a/src/lib/protocols/tls.c +++ b/src/lib/protocols/tls.c @@ -1783,7 +1783,7 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct, #endif if((s_offset+extension_len-2) <= total_len) { - for(i=0; ipayload[s_offset+i])); #ifdef DEBUG_TLS @@ -1814,7 +1814,7 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct, printf("Client TLS [EllipticCurveFormat: len=%u]\n", extension_len); #endif if((s_offset+extension_len-1) <= total_len) { - for(i=0; ipayload[s_offset+i]; #ifdef DEBUG_TLS -- cgit v1.2.3