znc/znc-0.075-openssl.patch

16 lines
488 B
Diff
Raw Normal View History

diff -up znc-0.075/Csocket.h.openssl znc-0.075/Csocket.h
--- znc-0.075/Csocket.h.openssl 2009-06-30 11:56:01.000000000 +0200
+++ znc-0.075/Csocket.h 2009-08-26 17:29:37.000000000 +0200
@@ -990,7 +990,11 @@ private:
CS_STRING m_sSSLBuffer;
SSL *m_ssl;
SSL_CTX *m_ssl_ctx;
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD *m_ssl_method;
+#else
SSL_METHOD *m_ssl_method;
+#endif
unsigned int m_iRequireClientCertFlags;
FPCertVerifyCB m_pCerVerifyCB;