nghttpx: Fix wrong SSL_CTX object usage

This commit is contained in:
Tatsuhiro Tsujikawa 2021-10-15 18:19:07 +09:00
parent d8282de229
commit 3742acaf39
1 changed files with 2 additions and 1 deletions

View File

@ -754,7 +754,8 @@ void ConnectionHandler::handle_ocsp_complete() {
std::make_shared<std::vector<uint8_t>>(ocsp_.resp); std::make_shared<std::vector<uint8_t>>(ocsp_.resp);
# endif // !HAVE_ATOMIC_STD_SHARED_PTR # endif // !HAVE_ATOMIC_STD_SHARED_PTR
# else // OPENSSL_IS_BORINGSSL # 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 // OPENSSL_IS_BORINGSSL
} }
#endif // ENABLE_HTTP3 #endif // ENABLE_HTTP3