Skip to content

Commit

Permalink
dev-perl/Crypt-OpenSSL-RSA: compatibility patch for LibreSSL
Browse files Browse the repository at this point in the history
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: gentoo#8078
  • Loading branch information
FuzzyGophers committed Apr 21, 2018
1 parent 64095b1 commit c5af77d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
+{
Expand Down

0 comments on commit c5af77d

Please sign in to comment.