From fbebf2897b6a908e263bb960ad53d9b0a5f2d9e0 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 30 Jun 2008 22:13:16 +0000 Subject: A commit to squid a few months ago broke using openssl's MD5 implementation without compiling in ssl. This fix disables including the openssl headers unless SSL support is compiled in, leaving the md5 stuff to hopefully compile correctly. --- www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h (limited to 'www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h') diff --git a/www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h b/www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h new file mode 100644 index 000000000000..b3c910dae24d --- /dev/null +++ b/www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h @@ -0,0 +1,19 @@ +--- libiapp/iapp_ssl.h (revision 12992) ++++ libiapp/iapp_ssl.h (working copy) +@@ -3,6 +3,9 @@ + + #include "../include/config.h" + ++/* Don't include these if we are -not- building with SSL support */ ++ ++#if USE_SSL + #if HAVE_OPENSSL_SSL_H + #include + #endif +@@ -12,5 +15,6 @@ + #if HAVE_OPENSSL_ENGINE_H + #include + #endif ++#endif /* USE_SSL */ + + #endif -- cgit v1.2.3