aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/msg_cert_status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/msg_cert_status.cpp')
-rw-r--r--src/lib/tls/msg_cert_status.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/msg_cert_status.cpp b/src/lib/tls/msg_cert_status.cpp
index bccfa02da..4fafd10ad 100644
--- a/src/lib/tls/msg_cert_status.cpp
+++ b/src/lib/tls/msg_cert_status.cpp
@@ -36,8 +36,8 @@ Certificate_Status::Certificate_Status(const std::vector<uint8_t>& buf)
Certificate_Status::Certificate_Status(Handshake_IO& io,
Handshake_Hash& hash,
- std::shared_ptr<const OCSP::Response> ocsp) :
- m_response(ocsp->raw_bits())
+ const OCSP::Response& ocsp) :
+ m_response(ocsp.raw_bits())
{
hash.update(io.send(*this));
}