components/php/php56/Makefile
branchs11-update
changeset 4482 aaac3f6161a7
parent 4418 7ae5fd823a4b
child 6905 f976b5909005
--- 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