mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 10:24:31 +04:00
haproxy: Update HAProxy to v2.0.3
- Update haproxy download URL and hash - Add new patches Signed-off-by: Christian Lachner <gladiac@gmail.com>
This commit is contained in:
committed by
Yousong Zhou
parent
6d9e48ab38
commit
e7faabcf11
12
net/haproxy/patches/001-OPENWRT-openssl-deprecated.patch
Normal file
12
net/haproxy/patches/001-OPENWRT-openssl-deprecated.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/include/common/openssl-compat.h
|
||||
+++ b/include/common/openssl-compat.h
|
||||
@@ -217,7 +217,8 @@ static inline int EVP_PKEY_base_id(EVP_PKEY *pkey)
|
||||
#define TLSEXT_signature_ecdsa 3
|
||||
#endif
|
||||
|
||||
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
|
||||
+ (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER < 0x20700000L))
|
||||
#define X509_getm_notBefore X509_get_notBefore
|
||||
#define X509_getm_notAfter X509_get_notAfter
|
||||
#endif
|
||||
Reference in New Issue
Block a user