From: Joe Orton Date: Thu, 4 Mar 2004 22:00:25 +0000 (+0000) Subject: * modules/ssl/ssl_engine_init.c (ssl_init_Engine): Log the OpenSSL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be7bb270d212aaa87ba93fb4e8ef1c6be814f811;p=thirdparty%2Fapache%2Fhttpd.git * modules/ssl/ssl_engine_init.c (ssl_init_Engine): Log the OpenSSL error stack contents if engine load/init fails. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@102857 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_init.c b/ssl_engine_init.c index c504abcc2b3..17aa6e06ace 100644 --- a/ssl_engine_init.c +++ b/ssl_engine_init.c @@ -323,6 +323,7 @@ void ssl_init_Engine(server_rec *s, apr_pool_t *p) ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "Init: Failed to load Crypto Device API `%s'", mc->szCryptoDevice); + ssl_log_ssl_error(APLOG_MARK, APLOG_ERR, s); ssl_die(); } @@ -334,6 +335,7 @@ void ssl_init_Engine(server_rec *s, apr_pool_t *p) ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, "Init: Failed to enable Crypto Device API `%s'", mc->szCryptoDevice); + ssl_log_ssl_error(APLOG_MARK, APLOG_ERR, s); ssl_die(); }