components/php-5_3/php-sapi/php.mk
branchs11u2-sru
changeset 4534 058d7630f55f
parent 3498 cc51facdce75
--- a/components/php-5_3/php-sapi/php.mk	Tue Jun 23 09:14:23 2015 -0700
+++ b/components/php-5_3/php-sapi/php.mk	Tue Jun 23 13:44:01 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 COMPONENT_PRE_INSTALL_ACTION += ( \
@@ -51,3 +51,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