mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix signedness comparison warning in ssl analyzer
This commit is contained in:
parent
83fecb6b8f
commit
15c0bd9b9d
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ bool SSL_Analyzer::TryDecryptApplicationData(int len, const u_char* data, bool i
|
||||||
EVP_DecryptUpdate(ctx, NULL, &decrypted_len, s_aead_tag.data(), s_aead_tag.size());
|
EVP_DecryptUpdate(ctx, NULL, &decrypted_len, s_aead_tag.data(), s_aead_tag.size());
|
||||||
EVP_DecryptUpdate(ctx, decrypted.data(), &decrypted_len, (const u_char*)encrypted,
|
EVP_DecryptUpdate(ctx, decrypted.data(), &decrypted_len, (const u_char*)encrypted,
|
||||||
encrypted_len);
|
encrypted_len);
|
||||||
assert(decrypted_len <= decrypted.size());
|
assert(static_cast<decltype(decrypted.size())>(decrypted_len) <= decrypted.size());
|
||||||
decrypted.resize(decrypted_len);
|
decrypted.resize(decrypted_len);
|
||||||
|
|
||||||
int res = 0;
|
int res = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue