summaryrefslogtreecommitdiff
path: root/package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_ed_private_key_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_ed_private_key_c')
-rw-r--r--package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_ed_private_key_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_ed_private_key_c b/package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_ed_private_key_c
new file mode 100644
index 000000000..f62478391
--- /dev/null
+++ b/package/strongswan/patches/patch-src_libstrongswan_plugins_openssl_openssl_ed_private_key_c
@@ -0,0 +1,11 @@
+--- strongswan-5.8.1.orig/src/libstrongswan/plugins/openssl/openssl_ed_private_key.c 2018-12-14 16:48:24.000000000 +0100
++++ strongswan-5.8.1/src/libstrongswan/plugins/openssl/openssl_ed_private_key.c 2019-10-08 02:03:21.911114313 +0200
+@@ -15,7 +15,7 @@
+
+ #include <openssl/evp.h>
+
+-#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(OPENSSL_NO_EC)
++#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(OPENSSL_NO_EC) && !defined(LIBRESSL_VERSION_NUMBER)
+
+ #include "openssl_ed_private_key.h"
+