mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
irc/ircd-ratbox: Unbreak with modern OpenSSL
- Bump PORTREVISION Approved by: blanket
This commit is contained in:
parent
6313182221
commit
3653c88dfe
@ -1,6 +1,6 @@
|
||||
PORTNAME= ircd-ratbox
|
||||
PORTVERSION= 3.0.10
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://www.ratbox.org/download/ \
|
||||
http://www.ratbox.org/download/old/
|
||||
|
11
irc/ircd-ratbox/files/patch-libratbox_src_openssl.c
Normal file
11
irc/ircd-ratbox/files/patch-libratbox_src_openssl.c
Normal file
@ -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)
|
||||
{
|
Loading…
Reference in New Issue
Block a user