summaryrefslogtreecommitdiff
path: root/Libraries/LibTLS/Socket.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-12-19 15:07:09 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-19 18:29:13 +0100
commit8e20208dd6d561f0891fd424d8c396c28247cff9 (patch)
tree633790ef5fca4c9a55e6e6805a54ab63b6e14ca1 /Libraries/LibTLS/Socket.cpp
parent4d89c1885df4734c8b5cd61e1fd942dda24c3077 (diff)
downloadserenity-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.cpp2
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