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

Function ssl_add_version_components

modules/ssl/ssl_engine_init.c:176–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174#endif
175
176static void ssl_add_version_components(apr_pool_t *ptemp, apr_pool_t *pconf,
177 server_rec *s)
178{
179 char *modver = ssl_var_lookup(ptemp, s, NULL, NULL, "SSL_VERSION_INTERFACE");
180 char *libver = ssl_var_lookup(ptemp, s, NULL, NULL, "SSL_VERSION_LIBRARY");
181 char *incver = ssl_var_lookup(ptemp, s, NULL, NULL,
182 "SSL_VERSION_LIBRARY_INTERFACE");
183
184 ap_add_version_component(pconf, libver);
185
186 ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, APLOGNO(01876)
187 "%s compiled against Server: %s, Library: %s",
188 modver, AP_SERVER_BASEVERSION, incver);
189}
190
191#ifdef HAVE_TLSEXT
192/* Helper functions to create the SNI vhost policy hash. The policy

Callers 1

ssl_init_ModuleFunction · 0.85

Calls 3

ap_add_version_componentFunction · 0.85
ssl_var_lookupFunction · 0.70
ap_log_errorFunction · 0.50

Tested by

no test coverage detected