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

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