summaryrefslogtreecommitdiff
path: root/www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2008-06-30 22:13:16 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2008-06-30 22:13:16 +0000
commitfbebf2897b6a908e263bb960ad53d9b0a5f2d9e0 (patch)
treed4e81427f2a63eb0dd08e2611edfa05db3d57ed8 /www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h
parentSwitch the japanese/sj3 port to termios instead of sgtty. (diff)
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.
Notes
Notes: svn path=/head/; revision=216051
Diffstat (limited to 'www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h')
-rw-r--r--www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h19
1 files changed, 19 insertions, 0 deletions
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 <openssl/ssl.h>
+ #endif
+@@ -12,5 +15,6 @@
+ #if HAVE_OPENSSL_ENGINE_H
+ #include <openssl/engine.h>
+ #endif
++#endif /* USE_SSL */
+
+ #endif