aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_cert_req.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_cert_req.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_cert_req.cpp')
-rw-r--r--src/lib/tls/msg_cert_req.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/msg_cert_req.cpp b/src/lib/tls/msg_cert_req.cpp
index b6fc3825b..9e8a4d803 100644
--- a/src/lib/tls/msg_cert_req.cpp
+++ b/src/lib/tls/msg_cert_req.cpp
@@ -134,7 +134,7 @@ std::vector<uint8_t> Certificate_Req::serialize() const
append_tls_length_value(buf, cert_types, 1);
if(m_schemes.size() > 0)
- buf += Signature_Algorithms(m_schemes).serialize();
+ buf += Signature_Algorithms(m_schemes).serialize(Connection_Side::SERVER);
std::vector<uint8_t> encoded_names;