diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch b/nixpkgs/pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch deleted file mode 100644 index d72a67a63403..000000000000 --- a/nixpkgs/pkgs/development/libraries/libssh2/openssl_add_support_for_libressl_3_5.patch +++ /dev/null @@ -1,26 +0,0 @@ -From f0681a4573d7c7f7484d3157ddff7063a200295b Mon Sep 17 00:00:00 2001 -From: Viktor Szakats <commit@vsz.me> -Date: Thu, 19 May 2022 13:25:06 +0000 -Subject: [PATCH] openssl: add support for LibreSSL 3.5.x - -LibreSSL 3.5.0 made more structures opaque, so let's enable existing -support for that when building against these LibreSSL versions. - -Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.5.0-relnotes.txt ---- - src/openssl.h | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/openssl.h b/src/openssl.h -index 658b040..1733b9e 100644 ---- a/src/openssl.h -+++ b/src/openssl.h -@@ -58,7 +58,8 @@ - #include <openssl/rand.h> - - #if OPENSSL_VERSION_NUMBER >= 0x10100000L && \ -- !defined(LIBRESSL_VERSION_NUMBER) -+ !defined(LIBRESSL_VERSION_NUMBER) || \ -+ LIBRESSL_VERSION_NUMBER >= 0x3050000fL - # define HAVE_OPAQUE_STRUCTS 1 - #endif |