aboutsummaryrefslogtreecommitdiff
path: root/irc/ircd-ratbox/files/patch-libratbox_src_openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ircd-ratbox/files/patch-libratbox_src_openssl.c')
-rw-r--r--irc/ircd-ratbox/files/patch-libratbox_src_openssl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/irc/ircd-ratbox/files/patch-libratbox_src_openssl.c b/irc/ircd-ratbox/files/patch-libratbox_src_openssl.c
new file mode 100644
index 000000000000..69db1316de0a
--- /dev/null
+++ b/irc/ircd-ratbox/files/patch-libratbox_src_openssl.c
@@ -0,0 +1,11 @@
+--- libratbox/src/openssl.c.orig 2024-07-01 21:36:08 UTC
++++ libratbox/src/openssl.c
+@@ -299,7 +299,7 @@ rb_init_ssl(void)
+ /* Disable SSLv2, make the client use our settings */
+ SSL_CTX_set_options(ssl_server_ctx, SSL_OP_NO_SSLv2 | SSL_OP_CIPHER_SERVER_PREFERENCE);
+
+- ssl_client_ctx = SSL_CTX_new(TLSv1_client_method());
++ ssl_client_ctx = SSL_CTX_new(TLS_client_method());
+
+ if(ssl_client_ctx == NULL)
+ {