diff options
author | Stefan Strogin <stefan.strogin@gmail.com> | 2018-12-12 02:01:04 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-02-16 13:28:23 -0500 |
commit | 24d747741061e9a86d4d56b953f55577ddd2e55f (patch) | |
tree | 2e19f862e052cb9eb35fabcb8cfe1b6f4965d866 /net-wireless/crda/files | |
parent | dev-python/m2crypto: add LibreSSL support (diff) | |
download | gentoo-24d747741061e9a86d4d56b953f55577ddd2e55f.tar.gz gentoo-24d747741061e9a86d4d56b953f55577ddd2e55f.tar.bz2 gentoo-24d747741061e9a86d4d56b953f55577ddd2e55f.zip |
net-wireless/crda: fix build with LibreSSL
Closes: https://bugs.gentoo.org/669596
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10617
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'net-wireless/crda/files')
-rw-r--r-- | net-wireless/crda/files/crda-3.18-libressl.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-wireless/crda/files/crda-3.18-libressl.patch b/net-wireless/crda/files/crda-3.18-libressl.patch new file mode 100644 index 000000000000..817f2e0328cc --- /dev/null +++ b/net-wireless/crda/files/crda-3.18-libressl.patch @@ -0,0 +1,11 @@ +--- crda-3.18/reglib.c 2018-10-26 12:39:19.128083735 +1100 ++++ crda-3.18.a/reglib.c 2018-10-26 12:42:39.737916626 +1100 +@@ -111,7 +111,7 @@ int reglib_verify_db_signature(uint8_t * + goto out; + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) + rsa->e = rsa_e; + rsa->n = rsa_n; + #else |