commit: 04aff0c2723c4008f8907a5ccf7b24bfa24823ef
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 10:33:19 2017 +0000
Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 10:33:52 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04aff0c2
dev-perl/Crypt-OpenSSL-RSA: fix for libressl
Package-Manager: Portage-2.3.3, Repoman-2.3.1
...penSSL-RSA-0.280.0-r2.ebuild => Crypt-OpenSSL-RSA-0.280.0-r3.ebuild} | 0
.../files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.280.0-r2.ebuild
b/dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.280.0-r3.ebuild
similarity index 100%
rename from dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.280.0-r2.ebuild
rename to dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.280.0-r3.ebuild
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 22e742bbf6..719ef2824d 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,7 +20,7 @@ index de512e7822d0..b384cb0e23a2 100644
#define THROW(p_result) if (!(p_result)) { error = 1; goto err; }
-+#if OPENSSL_VERSION_NUMBER < 0x10100000
++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
+
+static void RSA_get0_key(const RSA *r,
+ const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)