]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
abs: Include OPENSSL_Applink when compiling on Windows, to resolve
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 14 Jun 2016 18:41:55 +0000 (18:41 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 14 Jun 2016 18:41:55 +0000 (18:41 +0000)
failures under Visual Studio 2015 and other mismatched MSVCRT flavors.

PR: 59630
Submitted by: Jan Ehrhardt <phpdev ehrhardt.nl>

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

CHANGES
STATUS
support/ab.c

diff --git a/CHANGES b/CHANGES
index 2efb5ae721b3284df1f9af7c1ad233c8404e458d..7e8d8ab2f732713f965d4fadd2526159915a9f5a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,10 @@
 
 Changes with Apache 2.4.21
 
+  *) abs: Include OPENSSL_Applink when compiling on Windows, to resolve
+     failures under Visual Studio 2015 and other mismatched MSVCRT flavors.
+     PR59630 [Jan Ehrhardt <phpdev ehrhardt.nl>]
+
   *) mod_ssl: Add "no_crl_for_cert_ok" flag to SSLCARevocationCheck directive
      to opt-in previous behaviour (2.2) with CRLs verification when checking
      certificate(s) with no corresponding CRL.  [Yann Ylavic]
diff --git a/STATUS b/STATUS
index 43ca3728d67100867bd903af1b7f31a928ec2615..8a1b1a3f731bc1c58f83bb42edc66975809c9d7a 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -126,13 +126,6 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
      +1: trawick
      ylavic: there may be missing bits, see thread for commit r1736510.
 
-  *) abs: Add OPENSSL_Applink in Visual Studio >= 2015 or abs fails with a no
-     OPENSSL_Applink error. PR59630
-     trunk patch: http://svn.apache.org/r1745767
-     2.4.x: trunk works (modulo CHANGES)
-     +1: gsmith,
-     +0: wrowe [I did not observe such issues, and will review the patch/issue]
-
   *) mod_dav: Add support for childtags to dav_error.
      trunk patch: http://svn.apache.org/r1747810
      2.4.x: trunk works modulo CHANGES/MMN
index 3add10f3c257dd2b2cc389aaa2821369bc570362..97097aea5a9621709f14c65556b62eb18adbd2a0 100644 (file)
 #define SK_VALUE(x,y) sk_X509_value(x,y)
 typedef STACK_OF(X509) X509_STACK_TYPE;
 
+#if defined(_MSC_VER)
+/* The following logic ensures we correctly glue FILE* within one CRT used
+ * by the OpenSSL library build to another CRT used by the ab.exe build.
+ * This became especially problematic with Visual Studio 2015.
+ */
+#include <openssl/applink.c>
 #endif
 
 #if defined(USE_SSL)