1
0
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:
Ryan Steinmetz 2024-07-01 17:46:46 -04:00
parent 6313182221
commit 3653c88dfe
No known key found for this signature in database
GPG Key ID: 1EF8BA6BD02846D7
2 changed files with 12 additions and 1 deletions

View File

@ -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/

View 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)
{