]> 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 20:37:52 +0000 (20:37 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 14 Jun 2016 20:37:52 +0000 (20:37 +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.2.x@1748461 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
support/ab.c

diff --git a/CHANGES b/CHANGES
index 28c3b80c1e72c74f5430bd78fc9c7a4273bb1bff..201260085fb639ba06596a7586de7546ddf8c3f4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.2.32
 
+  *) 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_proxy: Fix a regression with 2.2.31 that caused inherited workers to
      use a different scoreboard slot then the original one.  PR 58267.
      [Ruediger Pluem]
index 25fc0e03c39e6fea007065674a38702ce688aca0..c9d4cb306db15b5a303c33d75f3961ed85c78a45 100644 (file)
@@ -187,6 +187,14 @@ typedef STACK X509_STACK_TYPE;
 #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
+
 #endif
 
 #if defined(USE_SSL)