12 lines
392 B
Diff
12 lines
392 B
Diff
--- src/utils/rsa.cpp.orig
|
|
+++ src/utils/rsa.cpp
|
|
@@ -13,7 +13,7 @@
|
|
|
|
/* Forward compatibility functions if libssl < 1.1.0. */
|
|
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
|
|
|
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
|
|
{
|