MCPcopy Create free account
hub / github.com/chrxh/alien / SSLInit

Method SSLInit

external/cpp-httplib/httplib.h:7293–7301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7291 class SSLInit {
7292 public:
7293 SSLInit() {
7294#if OPENSSL_VERSION_NUMBER < 0x1010001fL
7295 SSL_load_error_strings();
7296 SSL_library_init();
7297#else
7298 OPENSSL_init_ssl(
7299 OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
7300#endif
7301 }
7302
7303 ~SSLInit() {
7304#if OPENSSL_VERSION_NUMBER < 0x1010001fL

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected