MCPcopy Create free account
hub / github.com/Icinga/icinga2 / AddCRLToSSLContext

Function AddCRLToSSLContext

lib/base/tlsutility.cpp:362–366  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

360 * @param crlPath The path to the CRL file.
361 */
362void 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.

Callers 2

SetupSslContextFunction · 0.85
VerifyCertificateFunction · 0.85

Calls 3

LogClass · 0.85
openssl_errorClass · 0.85
CStrMethod · 0.80

Tested by

no test coverage detected