aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_server.cpp')
-rw-r--r--src/tls/tls_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls/tls_server.cpp b/src/tls/tls_server.cpp
index aabafaaaa..426da353b 100644
--- a/src/tls/tls_server.cpp
+++ b/src/tls/tls_server.cpp
@@ -445,7 +445,7 @@ void Server::process_handshake_msg(Handshake_Type type,
}
}
- m_writer.send(CHANGE_CIPHER_SPEC, 1);
+ m_state->handshake_io().send(Change_Cipher_Spec());
m_writer.change_cipher_spec(SERVER,
m_state->ciphersuite(),
@@ -713,7 +713,7 @@ void Server::process_handshake_msg(Handshake_Type type,
);
}
- m_writer.send(CHANGE_CIPHER_SPEC, 1);
+ m_state->handshake_io().send(Change_Cipher_Spec());
m_writer.change_cipher_spec(SERVER,
m_state->ciphersuite(),