dev-perl/Crypt-OpenSSL-RSA: fix for libressl

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Jason A. Donenfeld
2017-02-15 11:33:19 +01:00
parent e8da74a53d
commit 04aff0c272
2 changed files with 1 additions and 1 deletions

View 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)