5namespace Stroika::Foundation::Cryptography::Providers::OpenSSL::ServerContext {
7#if qStroika_HasComponent_OpenSSL
13 inline LibRepType::LibRepType (nullptr_t)
14 : inherited{nullptr, SSL_CTX_free}
17 inline LibRepType::LibRepType (SSL_CTX* p)
18 : inherited{p, &::SSL_CTX_free}
27 inline Ptr::Ptr (
const shared_ptr<IRep>& p)
31 inline Ptr::Ptr (
const shared_ptr<SSL::ServerContext::IRep>& p)
33 if (
auto pp = dynamic_pointer_cast<IRep> (p)) [[likely]] {
37 Execution::Throw (bad_cast{});