Fix after COMP removal.
ok espie@
This commit is contained in:
parent
dbbad0a026
commit
44a817c930
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.21 2014/06/19 23:02:55 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.22 2014/07/12 14:42:37 pascal Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= advanced IRC bouncer
|
||||
|
||||
DISTNAME= znc-1.4
|
||||
REVISION= 0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${HOMEPAGE}releases/
|
||||
|
||||
|
19
net/znc/patches/patch-src_Csocket_cpp
Normal file
19
net/znc/patches/patch-src_Csocket_cpp
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-src_Csocket_cpp,v 1.1 2014/07/12 14:42:37 pascal Exp $
|
||||
--- src/Csocket.cpp.orig Sat Jul 12 16:03:48 2014
|
||||
+++ src/Csocket.cpp Sat Jul 12 16:04:36 2014
|
||||
@@ -555,6 +555,7 @@ bool InitSSL( ECompType eCompressionType )
|
||||
}
|
||||
#endif /* _WIN32 */
|
||||
|
||||
+#ifndef OPENSSL_NO_COMP
|
||||
COMP_METHOD *cm = NULL;
|
||||
|
||||
if( CT_ZLIB & eCompressionType )
|
||||
@@ -570,6 +571,7 @@ bool InitSSL( ECompType eCompressionType )
|
||||
if( cm )
|
||||
SSL_COMP_add_compression_method( CT_RLE, cm );
|
||||
}
|
||||
+#endif
|
||||
|
||||
// setting this up once in the begining
|
||||
g_iCsockSSLIdx = SSL_get_ex_new_index( 0, ( void * )"CsockGlobalIndex", NULL, NULL, NULL );
|
Loading…
x
Reference in New Issue
Block a user