1
Fork 0
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:
Ali Mohammad Pur 2021-05-13 12:27:31 +04:30 committed by Andreas Kling
parent abda20e25e
commit 98ecb95709
3 changed files with 16 additions and 16 deletions

View file

@ -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);