aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/c_hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/c_hello.cpp')
-rw-r--r--src/tls/c_hello.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tls/c_hello.cpp b/src/tls/c_hello.cpp
index c9249ab9a..465e6714a 100644
--- a/src/tls/c_hello.cpp
+++ b/src/tls/c_hello.cpp
@@ -9,7 +9,7 @@
#include <botan/internal/tls_reader.h>
#include <botan/internal/tls_session_key.h>
#include <botan/internal/tls_extensions.h>
-#include <botan/tls_record.h>
+#include <botan/internal/tls_handshake_writer.h>
#include <botan/internal/stl_util.h>
#include <chrono>
@@ -36,7 +36,7 @@ std::vector<byte> make_hello_random(RandomNumberGenerator& rng)
/*
* Create a new Hello Request message
*/
-Hello_Request::Hello_Request(Record_Writer& writer)
+Hello_Request::Hello_Request(Handshake_Writer& writer)
{
writer.send(*this);
}
@@ -61,7 +61,7 @@ std::vector<byte> Hello_Request::serialize() const
/*
* Create a new Client Hello message
*/
-Client_Hello::Client_Hello(Record_Writer& writer,
+Client_Hello::Client_Hello(Handshake_Writer& writer,
Handshake_Hash& hash,
Protocol_Version version,
const Policy& policy,
@@ -98,7 +98,7 @@ Client_Hello::Client_Hello(Record_Writer& writer,
/*
* Create a new Client Hello message (session resumption case)
*/
-Client_Hello::Client_Hello(Record_Writer& writer,
+Client_Hello::Client_Hello(Handshake_Writer& writer,
Handshake_Hash& hash,
const Policy& policy,
RandomNumberGenerator& rng,