]> granicus.if.org Git - apache/commitdiff
Merge r1673455 from trunk:
authorJeff Trawick <trawick@apache.org>
Wed, 15 Apr 2015 17:55:41 +0000 (17:55 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 15 Apr 2015 17:55:41 +0000 (17:55 +0000)
mod_ssl: Protect ENGINE_CTRL_CHIL_SET_FORKCHECK macro with a
featue check for libressl.

Submitted by: Stuart Henderson <sthen openbsd.org>
Reviewed by: covener, trawick, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1673900 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/ssl/ssl_engine_init.c

diff --git a/CHANGES b/CHANGES
index 88d612714662b76f0eb69142ff633b3fe61dbf20..1e81c1c0db034d1a5c42a34253ebd9fde711575d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,10 @@ Changes with Apache 2.4.13
      calls r:wsupgrade() can cause a child process crash. 
      [Edward Lu <Chaosed0 gmail.com>]
 
+  *) mod_ssl: Avoid compilation errors with LibreSSL related to
+     the use of ENGINE_CTRL_CHIL_SET_FORKCHECK. 
+     [Stuart Henderson <sthen openbsd.org>]
+
   *) mod_proxy_http: Use the "Connection: close" header for requests to
      backends not recycling connections (disablereuse), including the default
      reverse and forward proxies.  [Yann Ylavic]
diff --git a/STATUS b/STATUS
index 45606a7612c5f3d944ff8c78e18831be16cd4c2c..c1ce99fd2fb8f894fe9937a58f6bfdc92031ad7f 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -105,12 +105,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  *) mod_ssl: Protect ENGINE_CTRL_CHIL_SET_FORKCHECK macro with a 
-     featue check for libressl. 
-     trunk patch: http://svn.apache.org/r1673455
-     2.4.x patch:  trunk works (modulo CHANGES)
-     +1: covener, trawick, ylavic
-
   *) mod_proxy_wstunnel: Avoid an empty response by failing with 502 (Bad
      Gateway) when no response is ever received from the backend.
      trunk patch: http://svn.apache.org/r1669299
index 63e895788f8025a7ac3959be64092348c0226d9c..931011c6c9b45e87dd510f3a1a33ad11c1bac4f7 100644 (file)
@@ -353,9 +353,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)