diff options
Diffstat (limited to 'security/libssh2/files/patch-src_openssl.h')
| -rw-r--r-- | security/libssh2/files/patch-src_openssl.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/security/libssh2/files/patch-src_openssl.h b/security/libssh2/files/patch-src_openssl.h index 0bbca531c2c7..efde2680c54d 100644 --- a/security/libssh2/files/patch-src_openssl.h +++ b/security/libssh2/files/patch-src_openssl.h @@ -1,12 +1,17 @@ ---- src/openssl.h.orig 2022-10-17 08:18:24 UTC +Backported from upstream commit +<https://github.com/libssh2/libssh2/commit/b952674f> + +--- src/openssl.h.orig 2021-05-14 21:36:06 UTC +++ src/openssl.h -@@ -57,8 +57,7 @@ +@@ -57,8 +57,9 @@ #include <openssl/pem.h> #include <openssl/rand.h> -#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ - !defined(LIBRESSL_VERSION_NUMBER) -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && \ ++ !defined(LIBRESSL_VERSION_NUMBER)) || \ ++ LIBRESSL_VERSION_NUMBER >= 0x3050000fL # define HAVE_OPAQUE_STRUCTS 1 #endif |
