diff options
Diffstat (limited to 'testing/megatools/libressl.patch')
-rw-r--r-- | testing/megatools/libressl.patch | 11 |
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); |