--- a/components/openssl/openssl-1.0.1-fips-140/patches/42_rm_sslv2.patch Wed Jul 01 13:37:02 2015 -0700
+++ b/components/openssl/openssl-1.0.1-fips-140/patches/42_rm_sslv2.patch Thu Jul 02 15:29:20 2015 -0700
@@ -51,7 +51,7 @@
# endif
--- openssl-1.0.1/ssl/ssl.h Tue May 26 11:13:15 2015
+++ openssl-1.0.1/ssl/ssl.h.new Tue May 26 11:32:09 2015
-@@ -2016,12 +2016,24 @@
+@@ -2016,12 +2016,26 @@
/* This sets the 'default' SSL version that SSL_new() will create */
int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
@@ -74,9 +74,11 @@
+# define DEPRECATED
+#endif
+
++# ifndef OPENSSL_NO_SSL2
+DEPRECATED const SSL_METHOD *SSLv2_method(void); /* SSLv2 */
+DEPRECATED const SSL_METHOD *SSLv2_server_method(void); /* SSLv2 */
+DEPRECATED const SSL_METHOD *SSLv2_client_method(void); /* SSLv2 */
++# endif
+
# ifndef OPENSSL_NO_SSL3_METHOD
const SSL_METHOD *SSLv3_method(void); /* SSLv3 */
--- a/components/openssl/openssl-1.0.1/patches/42_rm_sslv2.patch Wed Jul 01 13:37:02 2015 -0700
+++ b/components/openssl/openssl-1.0.1/patches/42_rm_sslv2.patch Thu Jul 02 15:29:20 2015 -0700
@@ -51,7 +51,7 @@
# endif
--- openssl-1.0.1/ssl/ssl.h Tue May 26 11:13:15 2015
+++ openssl-1.0.1/ssl/ssl.h.new Tue May 26 11:32:09 2015
-@@ -2016,12 +2016,24 @@
+@@ -2016,12 +2016,26 @@
/* This sets the 'default' SSL version that SSL_new() will create */
int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
@@ -74,9 +74,11 @@
+# define DEPRECATED
+#endif
+
++# ifndef OPENSSL_NO_SSL2
+DEPRECATED const SSL_METHOD *SSLv2_method(void); /* SSLv2 */
+DEPRECATED const SSL_METHOD *SSLv2_server_method(void); /* SSLv2 */
+DEPRECATED const SSL_METHOD *SSLv2_client_method(void); /* SSLv2 */
++# endif
+
# ifndef OPENSSL_NO_SSL3_METHOD
const SSL_METHOD *SSLv3_method(void); /* SSLv3 */