aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_server_hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/msg_server_hello.cpp')
-rw-r--r--src/lib/tls/msg_server_hello.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/msg_server_hello.cpp b/src/lib/tls/msg_server_hello.cpp
index 527352e78..7bce3d2c3 100644
--- a/src/lib/tls/msg_server_hello.cpp
+++ b/src/lib/tls/msg_server_hello.cpp
@@ -192,8 +192,8 @@ std::vector<uint8_t> Server_Hello::serialize() const
append_tls_length_value(buf, m_session_id, 1);
- buf.push_back(get_byte(0, m_ciphersuite));
- buf.push_back(get_byte(1, m_ciphersuite));
+ buf.push_back(get_byte<0>(m_ciphersuite));
+ buf.push_back(get_byte<1>(m_ciphersuite));
buf.push_back(m_comp_method);