MCPcopy Create free account
hub / github.com/acl-dev/acl / get_ssl_ctx

Method get_ssl_ctx

lib_acl_cpp/src/stream/openssl_conf.cpp:721–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719}
720
721SSL_CTX* openssl_conf::get_ssl_ctx() const
722{
723 // The ssl_ctx_ should be created in client mode, and in server mode,
724 // it should also be created when loading certificate.
725 if (ssl_ctx_ == NULL) {
726 logger_error("ssl_ctx_ not created yet!");
727 }
728 return ssl_ctx_;
729}
730
731void openssl_conf::get_ssl_ctxes(std::vector<SSL_CTX*>& out)
732{

Callers 1

openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected