* Loads a CRL and appends its certificates to the specified Boost SSL context. * * @param context The SSL context. * @param crlPath The path to the CRL file. */
| 360 | * @param crlPath The path to the CRL file. |
| 361 | */ |
| 362 | void AddCRLToSSLContext(const Shared<boost::asio::ssl::context>::Ptr& context, const String& crlPath) |
| 363 | { |
| 364 | X509_STORE *x509_store = SSL_CTX_get_cert_store(context->native_handle()); |
| 365 | AddCRLToSSLContext(x509_store, crlPath); |
| 366 | } |
| 367 | |
| 368 | /** |
| 369 | * Loads a CRL and appends its certificates to the specified OpenSSL X509 store. |
no test coverage detected