diff --git a/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c b/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c index 3ed356589fb6..8208fa815c92 100644 --- a/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c +++ b/security/trousers/files/patch-src_trspi_crypto_openssl_rsa.c @@ -5,7 +5,7 @@ #endif -#if OPENSSL_VERSION_NUMBER < 0x10100001L -+#if OPENSSL_VERSION_NUMBER < 0x10100001L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100001L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) static int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) {