aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_server_hello.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-05-24 14:17:55 -0400
committerJack Lloyd <[email protected]>2019-05-24 14:17:55 -0400
commitbb8c2b138898fb49b36157779f3b2a05dd5bba90 (patch)
tree710d7f2fe5711cebf3da8ee78bb2f6905ddf9c25 /src/lib/tls/msg_server_hello.cpp
parenta6f271f638a20a619be8e840001ff83112506c40 (diff)
Let TLS serialization know which side we are sending as
Since this matters for some extensions
Diffstat (limited to 'src/lib/tls/msg_server_hello.cpp')
-rw-r--r--src/lib/tls/msg_server_hello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/msg_server_hello.cpp b/src/lib/tls/msg_server_hello.cpp
index f3ef45f50..f24ddeb07 100644
--- a/src/lib/tls/msg_server_hello.cpp
+++ b/src/lib/tls/msg_server_hello.cpp
@@ -180,7 +180,7 @@ std::vector<uint8_t> Server_Hello::serialize() const
buf.push_back(m_comp_method);
- buf += m_extensions.serialize();
+ buf += m_extensions.serialize(Connection_Side::SERVER);
return buf;
}