From 7f292dc4ad0239d34f6b849a00f37f9c87d822a4 Mon Sep 17 00:00:00 2001 From: Johanna Amann Date: Tue, 2 May 2017 11:51:36 -0700 Subject: [PATCH] TLS: Fix compile warning (comparison between signed/unsigned). This was introduced with the addition of new TLS1.3 extensions. --- src/analyzer/protocol/ssl/tls-handshake-analyzer.pac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/analyzer/protocol/ssl/tls-handshake-analyzer.pac b/src/analyzer/protocol/ssl/tls-handshake-analyzer.pac index c85f3205ef..fc4c879e81 100644 --- a/src/analyzer/protocol/ssl/tls-handshake-analyzer.pac +++ b/src/analyzer/protocol/ssl/tls-handshake-analyzer.pac @@ -195,7 +195,7 @@ refine connection Handshake_Conn += { if ( versions_list ) { - for ( int i = 0; i < versions_list->size(); ++i ) + for ( unsigned int i = 0; i < versions_list->size(); ++i ) versions->Assign(i, new Val((*versions_list)[i], TYPE_COUNT)); } @@ -211,7 +211,7 @@ refine connection Handshake_Conn += { if ( mode_list ) { - for ( int i = 0; i < mode_list->size(); ++i ) + for ( unsigned int i = 0; i < mode_list->size(); ++i ) modes->Assign(i, new Val((*mode_list)[i], TYPE_COUNT)); }