]> granicus.if.org Git - apache/commitdiff
libressl fix for removed ENGINE_CTRL_CHIL_SET_FORKCHECK
authorEric Covener <covener@apache.org>
Tue, 14 Apr 2015 15:56:30 +0000 (15:56 +0000)
committerEric Covener <covener@apache.org>
Tue, 14 Apr 2015 15:56:30 +0000 (15:56 +0000)
Submitted By: Stuart Henderson <sthen openbsd.org>
Commited By: covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673455 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/ssl/ssl_engine_init.c

diff --git a/CHANGES b/CHANGES
index 7ca5e397a3916cd6f776c05aeccfa6a5c142672a..08ea8def8e43beecc79f999addf51dea183ca95b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_ssl: Avoid compilation errors with LibreSSL related to
+     the use of ENGINE_CTRL_CHIL_SET_FORKCHECK. 
+     [Stuart Henderson <sthen openbsd.org>]
+
   *) ssl: Add a warning if protocol given in SSLProtocol or SSLProxyProtocol
      will override other parameters given in the same directive. This could be
      a missing + or - prefix.  PR 52820 [Christophe Jaillet]
index 34457250dfde9c095b36a4b2169d647bccc32bad..df775788e4b340389bad54258efc63a541f2fb6d 100644 (file)
@@ -374,9 +374,11 @@ apr_status_t ssl_init_Engine(server_rec *s, apr_pool_t *p)
             return ssl_die(s);
         }
 
+#ifdef ENGINE_CTRL_CHIL_SET_FORKCHECK
         if (strEQ(mc->szCryptoDevice, "chil")) {
             ENGINE_ctrl(e, ENGINE_CTRL_CHIL_SET_FORKCHECK, 1, 0, 0);
         }
+#endif
 
         if (!ENGINE_set_default(e, ENGINE_METHOD_ALL)) {
             ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(01889)