mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Roll away the SSL_EXPERIMENTAL_ENGINE test in favor of testing for the
ENGINE_init() function in config.m4, and rely on HAVE_ENGINE_INIT instead. Reviewed by: Ben Laurie (concept) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -270,7 +270,7 @@ int ssl_init_Module(apr_pool_t *p, apr_pool_t *plog,
|
||||
/*
|
||||
* SSL external crypto device ("engine") support
|
||||
*/
|
||||
#ifdef SSL_EXPERIMENTAL_ENGINE
|
||||
#ifdef HAVE_ENGINE_INIT
|
||||
ssl_init_Engine(base_server, p);
|
||||
#endif
|
||||
|
||||
@@ -351,7 +351,7 @@ int ssl_init_Module(apr_pool_t *p, apr_pool_t *plog,
|
||||
* Support for external a Crypto Device ("engine"), usually
|
||||
* a hardware accellerator card for crypto operations.
|
||||
*/
|
||||
#ifdef SSL_EXPERIMENTAL_ENGINE
|
||||
#ifdef HAVE_ENGINE_INIT
|
||||
void ssl_init_Engine(server_rec *s, apr_pool_t *p)
|
||||
{
|
||||
SSLModConfigRec *mc = myModConfig(s);
|
||||
|
Reference in New Issue
Block a user