mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Update crypt module: Fix for LibreSSL (#1439)
This commit is contained in:
@@ -68,7 +68,7 @@ class CCryptMod : public CModule {
|
||||
CString m_sPrivKey;
|
||||
CString m_sPubKey;
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0X10100000L
|
||||
#if OPENSSL_VERSION_NUMBER < 0X10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
static int DH_set0_pqg(DH* dh, BIGNUM* p, BIGNUM* q, BIGNUM* g) {
|
||||
/* If the fields p and g in dh are nullptr, the corresponding input
|
||||
* parameters MUST be non-nullptr. q may remain nullptr.
|
||||
|
||||
Reference in New Issue
Block a user