MCPcopy Create free account
hub / github.com/apache/httpd / ssl_util_thread_id_setup

Function ssl_util_thread_id_setup

modules/ssl/ssl_util.c:464–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464void ssl_util_thread_id_setup(apr_pool_t *p)
465{
466#if OPENSSL_VERSION_NUMBER >= 0x10000000L
467 CRYPTO_THREADID_set_callback(ssl_util_thr_id);
468#else
469 CRYPTO_set_id_callback(ssl_util_thr_id);
470#endif
471 apr_pool_cleanup_register(p, NULL, ssl_util_thr_id_cleanup,
472 apr_pool_cleanup_null);
473}
474
475#endif /* #if APR_HAS_THREADS && MODSSL_USE_OPENSSL_PRE_1_1_API */
476

Callers 1

ssl_hook_pre_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected