From 3742acaf398d394a84e70f25894f17f86f8a1745 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 15 Oct 2021 18:19:07 +0900 Subject: [PATCH] nghttpx: Fix wrong SSL_CTX object usage --- src/shrpx_connection_handler.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shrpx_connection_handler.cc b/src/shrpx_connection_handler.cc index 3ff22740..99800ca4 100644 --- a/src/shrpx_connection_handler.cc +++ b/src/shrpx_connection_handler.cc @@ -754,7 +754,8 @@ void ConnectionHandler::handle_ocsp_complete() { std::make_shared>(ocsp_.resp); # endif // !HAVE_ATOMIC_STD_SHARED_PTR # else // OPENSSL_IS_BORINGSSL - SSL_CTX_set_ocsp_response(ssl_ctx, ocsp_.resp.data(), ocsp_.resp.size()); + SSL_CTX_set_ocsp_response(quic_ssl_ctx, ocsp_.resp.data(), + ocsp_.resp.size()); # endif // OPENSSL_IS_BORINGSSL } #endif // ENABLE_HTTP3