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

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