diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-19 15:07:09 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-19 18:29:13 +0100 |
commit | 8e20208dd6d561f0891fd424d8c396c28247cff9 (patch) | |
tree | 633790ef5fca4c9a55e6e6805a54ab63b6e14ca1 /Libraries/LibTLS/Socket.cpp | |
parent | 4d89c1885df4734c8b5cd61e1fd942dda24c3077 (diff) | |
download | serenity-8e20208dd6d561f0891fd424d8c396c28247cff9.zip |
LibTLS+LibCrypto: Replace a whole bunch of ByteBuffers with Spans
Diffstat (limited to 'Libraries/LibTLS/Socket.cpp')
-rw-r--r-- | Libraries/LibTLS/Socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibTLS/Socket.cpp b/Libraries/LibTLS/Socket.cpp index 3c242c3be1..79572582a0 100644 --- a/Libraries/LibTLS/Socket.cpp +++ b/Libraries/LibTLS/Socket.cpp @@ -73,7 +73,7 @@ String TLSv12::read_line(size_t max_size) return String::copy(buffer, Chomp); } -bool TLSv12::write(const ByteBuffer& buffer) +bool TLSv12::write(ReadonlyBytes buffer) { if (m_context.connection_status != ConnectionStatus::Established) { #ifdef TLS_DEBUG |