Update crypt module: Fix for LibreSSL (#1439)

This commit is contained in:
culb authored and Alexey Sokolov committed 2017-12-02 23:28:02 +00:00
1 parent 6689705756
commit 23c78dc318
1 file changed
+1 -1
+1 -1
View File
@@ -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.