Fix build with libressl
It got another feature of openssl implemented, which broke this
This commit is contained in:
1 parent
dde59a24d8
commit
dcb5f3df82
3 files changed
+16
-2
No files matched your search
+1
-2
@@ -25,8 +25,7 @@
|
||||
#include <znc/User.h>
|
||||
#include <znc/IRCNetwork.h>
|
||||
|
||||
#if !defined(OPENSSL_VERSION_NUMBER) || defined(LIBRESSL_VERSION_NUMBER) || \
|
||||
OPENSSL_VERSION_NUMBER < 0x10100007
|
||||
#ifndef HAVE_SSL_SESSION_get0_cipher
|
||||
/* SSL_SESSION was made opaque in OpenSSL 1.1.0, cipher accessor was added 2
|
||||
weeks before the public release.
|
||||
See openssl/openssl@e92813234318635639dba0168c7ef5568757449b. */
|
||||
|
||||
Reference in new issue
Block a user