mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47:44 +00:00
LibTLS + LibCrypto: Suppress unobserved Optoinal<T> return values.
This commit is contained in:
parent
125eab998f
commit
9572c95152
3 changed files with 4 additions and 4 deletions
|
@ -117,7 +117,7 @@ void TLSv12::update_packet(ByteBuffer& packet)
|
|||
auto view = ct.slice_view(header_size + iv_size, length);
|
||||
|
||||
// encrypt the message
|
||||
m_aes_local->encrypt(buffer, view, iv);
|
||||
(void)m_aes_local->encrypt(buffer, view, iv);
|
||||
|
||||
// store the correct ciphertext length into the packet
|
||||
u16 ct_length = (u16)ct.size() - header_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue