mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
![]() It used to be that the caller would supply a buffer to write the output to. This created an anti-pattern in multiple places where the caller would allocate a `ByteBuffer` and then use `.bytes()` to provide it to the `PKSystem` method. Then the callee would resize the output buffer and reassign it, but because the resize was on `Bytes` and not on `ByteBuffer`, the caller using the latter would cause a bug. Additionally, in pretty much all cases the buffer was pre-allocated shortly before. |
||
---|---|---|
.. | ||
CipherSuite.h | ||
CMakeLists.txt | ||
Extensions.h | ||
Handshake.cpp | ||
HandshakeCertificate.cpp | ||
HandshakeClient.cpp | ||
HandshakeServer.cpp | ||
Record.cpp | ||
Socket.cpp | ||
TLSPacketBuilder.h | ||
TLSv12.cpp | ||
TLSv12.h |