Fix up minor warnings in touched files

(cherry picked from commit 36af0591a6)
This commit is contained in:
Evan Typanski 2024-10-29 11:37:20 -04:00 committed by Tim Wojtulewicz
parent e3845060dc
commit 107c0da15d
5 changed files with 19 additions and 6 deletions

View file

@ -6,7 +6,6 @@
#include <vector>
#include "zeek/Reporter.h"
#include "zeek/analyzer/Manager.h"
#include "zeek/analyzer/protocol/ssl/events.bif.h"
#include "zeek/analyzer/protocol/ssl/ssl_pac.h"
#include "zeek/analyzer/protocol/ssl/tls-handshake_pac.h"
@ -276,7 +275,7 @@ bool SSL_Analyzer::TryDecryptApplicationData(int len, const u_char* data, bool i
// FIXME: should we change types here?
const u_char* encrypted = data;
size_t encrypted_len = len;
int encrypted_len = len;
if ( is_orig )
c_seq++;