From: William A. Rowe Jr Date: Wed, 11 Jun 2003 17:55:47 +0000 (+0000) Subject: OPENSSL_load_builtin_modules -appears- to have been introduced in beta-1, X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=741040248b94aafc5de852aa427dc9fec3db7ebd;p=thirdparty%2Fapache%2Fhttpd.git OPENSSL_load_builtin_modules -appears- to have been introduced in beta-1, but boy is this a hassle to determine without gstein's viewcvs ;-) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@100211 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/mod_ssl.c b/mod_ssl.c index a18f2c7ca2a..7a3d365cfd3 100644 --- a/mod_ssl.c +++ b/mod_ssl.c @@ -244,7 +244,11 @@ static int ssl_hook_pre_config(apr_pool_t *pconf, #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES ENGINE_load_builtin_engines(); #endif +#ifdef OPENSSL_VERSION_NUMBER +#if OPENSSL_VERSION_NUMBER >= 0x00907001 OPENSSL_load_builtin_modules(); +#endif +#endif SSL_load_error_strings(); /* Register us to handle mod_log_config %c/%x variables */