dev-perl/Crypt-OpenSSL-RSA: fix for libressl
authorJason A. Donenfeld <zx2c4@gentoo.org>
Wed, 15 Feb 2017 10:33:19 +0000 (11:33 +0100)
committerJason A. Donenfeld <zx2c4@gentoo.org>
Wed, 15 Feb 2017 10:33:52 +0000 (11:33 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.280.0-r3.ebuild [moved from dev-perl/Crypt-OpenSSL-RSA/Crypt-OpenSSL-RSA-0.280.0-r2.ebuild with 100% similarity]
dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch

index 22e742bbf670f65770910fb95c554620d5f3fff6..719ef2824d6723a7a489f218e0aea04ff2853fa2 100644 (file)
@@ -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)