blob: 35771264909eead320f33c2756ebed31f1fb1b97 (
plain)
1
2
3
4
5
6
7
8
9
10
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);
|