trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject trafficserver git commit: TS-3443: fix configure detection of tls1.h
Date Sun, 15 Mar 2015 05:02:40 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 6a1bab81a -> fe45f42fa


TS-3443: fix configure detection of tls1.h

At least on openssl 1.0.2 tls1.h depends on STACK_OF to be defined,
which is declared in openssl/safestack.h, so the configure check fails.
Because we already depend on ssl.h let's include that file, because it
in turn includes safestack.h for us.

This closes #180.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/fe45f42f
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/fe45f42f
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/fe45f42f

Branch: refs/heads/master
Commit: fe45f42fa7a0f535609ec4e36c6b55e11850c5dd
Parents: 6a1bab8
Author: Felix Bùˆnemann <buenemann@louis.info>
Authored: Sun Mar 15 05:14:48 2015 +0100
Committer: James Peach <jpeach@apache.org>
Committed: Sat Mar 14 22:01:23 2015 -0700

----------------------------------------------------------------------
 build/crypto.m4 | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/fe45f42f/build/crypto.m4
----------------------------------------------------------------------
diff --git a/build/crypto.m4 b/build/crypto.m4
index 8dd1634..5ae57bb 100644
--- a/build/crypto.m4
+++ b/build/crypto.m4
@@ -92,6 +92,7 @@ AC_DEFUN([TS_CHECK_CRYPTO_SNI], [
   AC_CHECK_HEADERS(openssl/ssl.h openssl/ts.h)
   AC_CHECK_HEADERS(openssl/tls1.h, [], [], 
 [ #if HAVE_OPENSSL_SSL_H
+#include <openssl/ssl.h>
 #include <openssl/tls1.h>
 #endif ])
 


Mime
View raw message