- unbreak dclib after the openssl update

ok landry@, sthen@
This commit is contained in:
benoit 2010-10-09 09:41:41 +00:00
parent 5bb3c4934b
commit ef7cef1a31
2 changed files with 23 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.8 2010/07/12 22:07:38 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2010/10/09 09:41:41 benoit Exp $
COMMENT= Library for direct-connect protocol
DISTNAME= dclib-0.3.7
REVISION= 1
REVISION= 2
CATEGORIES= net
SHARED_LIBS= dc 1.0

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-dclib_core_cssl_cpp,v 1.1 2010/10/09 09:41:44 benoit Exp $
--- dclib/core/cssl.cpp.orig Sat Oct 9 10:57:51 2010
+++ dclib/core/cssl.cpp Sat Oct 9 11:02:54 2010
@@ -48,7 +48,7 @@
/** */
SSL_CTX * CSSL::InitClientCTX()
{
- SSL_METHOD *method;
+ const SSL_METHOD *method;
SSL_CTX *ctx = NULL;
OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */
@@ -74,7 +74,7 @@
/** */
SSL_CTX * CSSL::InitServerCTX()
{
- SSL_METHOD *method;
+ const SSL_METHOD *method;
SSL_CTX *ctx = NULL;
OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */