mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
LibTLS: Remove all uses of VLAs
This commit is contained in:
parent
abda20e25e
commit
98ecb95709
3 changed files with 16 additions and 16 deletions
|
@ -141,7 +141,7 @@ ByteBuffer TLSv12::build_finished()
|
|||
PacketBuilder builder { MessageType::Handshake, m_context.options.version, 12 + 64 };
|
||||
builder.append((u8)HandshakeType::Finished);
|
||||
|
||||
u32 out_size = 12;
|
||||
constexpr u32 out_size = 12;
|
||||
|
||||
builder.append_u24(out_size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue