[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ngircd patch


Dear ngircd coders,

attached patch for SSLv23_method() function in ngircd-26.1.

SSLv23_method(), SSLv23_server_method() and SSLv23_client_method()
functions do not exist anymore, they have been renamed to: 
TLS_method(), TLS_server_method() and TLS_client_method()

Greetings, Naglfar.
--- src/ngircd/conn-ssl.c.orig
+++ src/ngircd/conn-ssl.c
@@ -327,7 +327,7 @@ ConnSSL_InitLibrary( void )
 		return false;
 	}
 
-	newctx = SSL_CTX_new(SSLv23_method());
+	newctx = SSL_CTX_new(TLS_method());
 	if (!newctx) {
 		LogOpenSSLError("Failed to create SSL context", NULL);
 		array_free(&Conf_SSLOptions.ListenPorts);