components/php-5_2/php-sapi/php.mk
branchs11u2-sru
changeset 4534 058d7630f55f
parent 3498 cc51facdce75
--- a/components/php-5_2/php-sapi/php.mk	Tue Jun 23 09:14:23 2015 -0700
+++ b/components/php-5_2/php-sapi/php.mk	Tue Jun 23 13:44:01 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 COMPONENT_PRE_INSTALL_ACTION += ( \
@@ -40,3 +40,7 @@
 		< configure.orig > configure; \
 	$(CHMOD) 755 configure; \
 	$(CLONEY) $(SOURCE_DIR) $(@D) )
+
+# Disable SSLv2 and SSLv3 for security reasons
+CFLAGS += -DOPENSSL_NO_SSL2
+CFLAGS += -DOPENSSL_NO_SSL3