View | Details | Raw Unified | Return to bug 226902
Collapse All | Expand All

(-)files/patch-openssl.c (+11 lines)
Line 0 Link Here
1
--- openssl.c.orig	2018-03-25 00:04:58 UTC
2
+++ openssl.c
3
@@ -564,7 +564,7 @@ ZEND_GET_MODULE(openssl)
4
 #endif
5
 
6
 /* {{{ OpenSSL compatibility functions and macros */
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER)
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L )
9
 #define EVP_PKEY_get0_RSA(_pkey) _pkey->pkey.rsa
10
 #define EVP_PKEY_get0_DH(_pkey) _pkey->pkey.dh
11
 #define EVP_PKEY_get0_DSA(_pkey) _pkey->pkey.dsa

Return to bug 226902