aboutsummaryrefslogtreecommitdiffstats
path: root/testing/megatools/libressl.patch
diff options
context:
space:
mode:
authorH <agathos5@gmail.com>2017-11-04 01:33:48 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-07 15:41:19 +0000
commit01df09b69617e5fb016ffea4ae062da7f48c1309 (patch)
treec11bf82d47a5cbba288718d834add9241576daf7 /testing/megatools/libressl.patch
parentfc3c9dace5ae3a88a80f31bc6119792009275973 (diff)
downloadaports-01df09b69617e5fb016ffea4ae062da7f48c1309.tar.bz2
aports-01df09b69617e5fb016ffea4ae062da7f48c1309.tar.xz
testing/megatools: new aport
https://megatools.megous.com Megatools is a collection of programs for accessing Mega.nz service from a command line of your desktop or server.
Diffstat (limited to 'testing/megatools/libressl.patch')
-rw-r--r--testing/megatools/libressl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/megatools/libressl.patch b/testing/megatools/libressl.patch
new file mode 100644
index 0000000000..3577126490
--- /dev/null
+++ b/testing/megatools/libressl.patch
@@ -0,0 +1,11 @@
+--- a/lib/mega.c
++++ b/lib/mega.c
+@@ -803,7 +803,7 @@
+ return FALSE;
+ }
+
+-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
+ RSA_get0_key(key, &k->m, &k->e, &k->d);
+ RSA_get0_factors(key, &k->q, &k->p);
+ RSA_get0_crt_params(key, NULL, NULL, &k->u);