21249541 problem in UTILITY/PHP s11-update
authorMichael Nestler <Michael.Nestler@Oracle.COM>
Fri, 12 Jun 2015 13:46:55 -0700
branchs11-update
changeset 4482 aaac3f6161a7
parent 4464 2594d55f79e0
child 4487 ec7d06d6b64e
21249541 problem in UTILITY/PHP
components/php/php56/Makefile
--- a/components/php/php56/Makefile	Wed Jun 10 14:59:41 2015 -0700
+++ b/components/php/php56/Makefile	Fri Jun 12 13:46:55 2015 -0700
@@ -70,6 +70,10 @@
 # Nor does PEAR (default: $PREFIX/lib/php)
 CONFIGURE_OPTIONS +=	--with-pear=/var/php/$(UL_PHP_MINOR_VERSION)/pear
 
+# Disable SSLv2 and SSLv3 for security reasons
+CFLAGS += -DOPENSSL_NO_SSL2
+CFLAGS += -DOPENSSL_NO_SSL3
+
 PROTOUSRPHPVERDIR = $(PROTO_DIR)/$(CONFIGURE_PREFIX)
 # Adapted from PHP 5.3 Makefile.
 # Creates alternate versions of the scripts needed for building extensions