From c5af77d034e970df9bcc61e15dd53121821855f5 Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Thu, 19 Apr 2018 19:29:55 -0400 Subject: dev-perl/Crypt-OpenSSL-RSA: compatibility patch for LibreSSL This patch was pulled from upstream to adjust version checks to fix compatibiity with the OpenSSL and LibreSSL 1.1 API implementations. Closes: https://bugs.gentoo.org/651170 Package-Manager: Portage-2.3.31, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8078 --- .../files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev-perl') diff --git a/dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch b/dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch index 719ef2824d67..463bcdfc83ce 100644 --- a/dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch +++ b/dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch @@ -20,8 +20,8 @@ index de512e7822d0..b384cb0e23a2 100644 #define THROW(p_result) if (!(p_result)) { error = 1; goto err; } -+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) -+ ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || \ ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) +static void RSA_get0_key(const RSA *r, + const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) +{ -- cgit v1.2.3-65-gdbad