aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-05-22 13:30:20 -0400
committerJack Lloyd <[email protected]>2019-05-22 13:43:47 -0400
commite9daa129ac96e6412af227505f4048097019516a (patch)
treefd983866e26420b463d915c97dd80421fbbe2c3b /src/lib
parent00ed1fb41a02471dd7a35500fb68c341b85663ae (diff)
Shorten callback name
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/tls/tls_callbacks.h4
-rw-r--r--src/lib/tls/tls_server.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/tls/tls_callbacks.h b/src/lib/tls/tls_callbacks.h
index 6dd8e2b4d..325ed884b 100644
--- a/src/lib/tls/tls_callbacks.h
+++ b/src/lib/tls/tls_callbacks.h
@@ -153,8 +153,8 @@ class BOTAN_PUBLIC_API(2,0) Callbacks
* empty vector to indicate that no response is available, and thus
* suppress the Certificate_Status message.
*/
- virtual std::vector<uint8_t> tls_srv_provide_cert_status_response(const std::vector<X509_Certificate>& chain,
- const Certificate_Status_Request& csr) const
+ virtual std::vector<uint8_t> tls_provide_cert_status(const std::vector<X509_Certificate>& chain,
+ const Certificate_Status_Request& csr) const
{
BOTAN_UNUSED(chain);
BOTAN_UNUSED(csr);
diff --git a/src/lib/tls/tls_server.cpp b/src/lib/tls/tls_server.cpp
index 8443c9c8c..63e04a568 100644
--- a/src/lib/tls/tls_server.cpp
+++ b/src/lib/tls/tls_server.cpp
@@ -859,7 +859,7 @@ void Server::session_create(Server_Handshake_State& pending_state,
auto csr = pending_state.client_hello()->extensions().get<Certificate_Status_Request>();
// csr is non-null if client_hello()->supports_cert_status_message()
BOTAN_ASSERT_NOMSG(csr != nullptr);
- const auto resp_bytes = callbacks().tls_srv_provide_cert_status_response(cert_chains[algo_used], *csr);
+ const auto resp_bytes = callbacks().tls_provide_cert_status(cert_chains[algo_used], *csr);
if(resp_bytes.size() > 0)
{
pending_state.server_cert_status(new Certificate_Status(