MCPcopy Create free account
hub / github.com/apache/trafficserver / SSLPostConfigInitialize

Function SSLPostConfigInitialize

src/iocore/net/SSLUtils.cc:832–847  ·  view source on GitHub ↗

* Some items are only initialized if certain config values are set * Must have a second pass that initializes after loading the SSL config */

Source from the content-addressed store, hash-verified

830 * Must have a second pass that initializes after loading the SSL config
831 */
832void
833SSLPostConfigInitialize()
834{
835 if (SSLConfigParams::engine_conf_file) {
836#if HAVE_ENGINE_LOAD_DYNAMIC
837 ENGINE_load_dynamic();
838#endif
839
840 OPENSSL_load_builtin_modules();
841 if (CONF_modules_load_file(SSLConfigParams::engine_conf_file, nullptr, 0) <= 0) {
842 char err_buf[256] = {0};
843 ERR_error_string_n(ERR_get_error(), err_buf, sizeof(err_buf));
844 Error("Could not load SSL engine configuration file %s: %s", SSLConfigParams::engine_conf_file, err_buf);
845 }
846 }
847}
848
849void
850SSLInitializeLibrary()

Callers 1

startMethod · 0.85

Calls 1

ErrorClass · 0.50

Tested by

no test coverage detected