diff options
| author | Aaron Bauman <bman@gentoo.org> | 2018-04-19 19:29:55 -0400 |
|---|---|---|
| committer | Aaron Bauman <bman@gentoo.org> | 2018-04-21 13:54:40 -0400 |
| commit | c5af77d034e970df9bcc61e15dd53121821855f5 (patch) | |
| tree | 6ec6d4e652598015a2ca270c6d4a75e3ed10ba26 /dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch | |
| parent | 64095b1dfcc2d960025fd5accd3fe8d96d6431d2 (diff) | |
| download | gentoo-c5af77d034e970df9bcc61e15dd53121821855f5.tar.gz gentoo-c5af77d034e970df9bcc61e15dd53121821855f5.tar.bz2 gentoo-c5af77d034e970df9bcc61e15dd53121821855f5.zip | |
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
Diffstat (limited to 'dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch')
| -rw-r--r-- | dev-perl/Crypt-OpenSSL-RSA/files/Crypt-OpenSSL-RSA-0.280.0-openssl-1.1.0.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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) +{ |
