Blame SOURCES/openssl-1.1.1-sslv3-keep-abi.patch

3a273b
diff -up openssl-1.1.1/include/openssl/ssl.h.sslv3-abi openssl-1.1.1/include/openssl/ssl.h
3a273b
--- openssl-1.1.1/include/openssl/ssl.h.sslv3-abi	2018-10-01 14:15:47.926252469 +0200
3a273b
+++ openssl-1.1.1/include/openssl/ssl.h	2018-10-01 14:13:23.221851065 +0200
3a273b
@@ -1838,11 +1838,11 @@ __owur const char *SSL_get_version(const
3a273b
 /* This sets the 'default' SSL version that SSL_new() will create */
3a273b
 __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
3a273b
 
3a273b
-# ifndef OPENSSL_NO_SSL3_METHOD
3a273b
+/* # ifndef OPENSSL_NO_SSL3_METHOD */
3a273b
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_method(void)) /* SSLv3 */
3a273b
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_server_method(void))
3a273b
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void))
3a273b
-# endif
3a273b
+/* # endif */
3a273b
 
3a273b
 #define SSLv23_method           TLS_method
3a273b
 #define SSLv23_server_method    TLS_server_method
3a273b
diff -up openssl-1.1.1/ssl/methods.c.sslv3-abi openssl-1.1.1/ssl/methods.c
3a273b
--- openssl-1.1.1/ssl/methods.c.sslv3-abi	2018-09-11 14:48:23.000000000 +0200
3a273b
+++ openssl-1.1.1/ssl/methods.c	2018-10-01 13:24:46.357116737 +0200
3a273b
@@ -275,4 +275,21 @@ const SSL_METHOD *DTLSv1_client_method(v
3a273b
 }
3a273b
 # endif
3a273b
 
3a273b
+# ifdef OPENSSL_NO_SSL3_METHOD
3a273b
+const SSL_METHOD *SSLv3_method(void)
3a273b
+{
3a273b
+    return NULL;
3a273b
+}
3a273b
+
3a273b
+const SSL_METHOD *SSLv3_server_method(void)
3a273b
+{
3a273b
+    return NULL;
3a273b
+}
3a273b
+
3a273b
+const SSL_METHOD *SSLv3_client_method(void)
3a273b
+{
3a273b
+    return NULL;
3a273b
+}
3a273b
+# endif
3a273b
+
3a273b
 #endif
3a273b
diff -up openssl-1.1.1/util/libssl.num.sslv3-abi openssl-1.1.1/util/libssl.num
3a273b
--- openssl-1.1.1/util/libssl.num.sslv3-abi	2018-09-11 14:48:25.000000000 +0200
3a273b
+++ openssl-1.1.1/util/libssl.num	2018-10-01 13:24:46.358116760 +0200
3a273b
@@ -60,7 +60,7 @@ SSL_get_rfd
3a273b
 DTLSv1_listen                           61	1_1_0	EXIST::FUNCTION:SOCK
3a273b
 SSL_set_ssl_method                      62	1_1_0	EXIST::FUNCTION:
3a273b
 SSL_get0_security_ex_data               63	1_1_0	EXIST::FUNCTION:
3a273b
-SSLv3_client_method                     64	1_1_0	EXIST::FUNCTION:DEPRECATEDIN_1_1_0,SSL3_METHOD
3a273b
+SSLv3_client_method                     64	1_1_0	EXIST::FUNCTION:DEPRECATEDIN_1_1_0
3a273b
 SSL_set_security_level                  65	1_1_0	EXIST::FUNCTION:
3a273b
 DTLSv1_2_method                         66	1_1_0	EXIST::FUNCTION:DEPRECATEDIN_1_1_0,DTLS1_2_METHOD
3a273b
 SSL_get_fd                              67	1_1_0	EXIST::FUNCTION:
3a273b
@@ -205,7 +205,7 @@ SSL_do_handshake
3a273b
 SSL_CTX_get_ex_data                     206	1_1_0	EXIST::FUNCTION:
3a273b
 SSL_is_init_finished                    207	1_1_0	EXIST::FUNCTION:
3a273b
 SSL_CTX_set_default_verify_file         208	1_1_0	EXIST::FUNCTION:
3a273b
-SSLv3_method                            209	1_1_0	EXIST::FUNCTION:DEPRECATEDIN_1_1_0,SSL3_METHOD
3a273b
+SSLv3_method                            209	1_1_0	EXIST::FUNCTION:DEPRECATEDIN_1_1_0
3a273b
 SSL_CTX_set_cookie_generate_cb          210	1_1_0	EXIST::FUNCTION:
3a273b
 SSL_certs_clear                         211	1_1_0	EXIST::FUNCTION:
3a273b
 SSL_set_connect_state                   212	1_1_0	EXIST::FUNCTION:
3a273b
@@ -324,7 +324,7 @@ SSL_CTX_use_RSAPrivateKey_ASN1
3a273b
 SSL_CTX_use_PrivateKey_ASN1             325	1_1_0	EXIST::FUNCTION:
3a273b
 SSL_CTX_get0_privatekey                 326	1_1_0	EXIST::FUNCTION:
3a273b
 BIO_f_ssl                               327	1_1_0	EXIST::FUNCTION:
3a273b
-SSLv3_server_method                     328	1_1_0	EXIST::FUNCTION:DEPRECATEDIN_1_1_0,SSL3_METHOD
3a273b
+SSLv3_server_method                     328	1_1_0	EXIST::FUNCTION:DEPRECATEDIN_1_1_0
3a273b
 SSL_SESSION_free                        329	1_1_0	EXIST::FUNCTION:
3a273b
 SSL_get_shutdown                        330	1_1_0	EXIST::FUNCTION:
3a273b
 SSL_get_peer_finished                   331	1_1_0	EXIST::FUNCTION: