aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bogo_shim/bogo_shim.cpp4
-rw-r--r--src/lib/tls/tls_callbacks.h4
-rw-r--r--src/lib/tls/tls_server.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/bogo_shim/bogo_shim.cpp b/src/bogo_shim/bogo_shim.cpp
index 47810c4ba..29331d3cd 100644
--- a/src/bogo_shim/bogo_shim.cpp
+++ b/src/bogo_shim/bogo_shim.cpp
@@ -1234,8 +1234,8 @@ class Shim_Callbacks final : public Botan::TLS::Callbacks
}
}
- std::vector<uint8_t> tls_srv_provide_cert_status_response(const std::vector<Botan::X509_Certificate>&,
- const Botan::TLS::Certificate_Status_Request&) const override
+ std::vector<uint8_t> tls_provide_cert_status(const std::vector<Botan::X509_Certificate>&,
+ const Botan::TLS::Certificate_Status_Request&) const override
{
if(m_args.flag_set("use-ocsp-callback") && m_args.flag_set("fail-ocsp-callback"))
throw std::runtime_error("Simulating failure from OCSP response callback");
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(