components/php/php56/Makefile
changeset 4480 0ddad0846024
parent 4408 47b0133297d6
child 4826 22a167e06d01
--- a/components/php/php56/Makefile	Thu Jun 11 20:52:26 2015 -0700
+++ b/components/php/php56/Makefile	Fri Jun 12 13:46:55 2015 -0700
@@ -66,6 +66,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