diff --git a/lib/dns/opensslrsa_link.c b/lib/dns/opensslrsa_link.c index b82159df56..a5a53089b1 100644 --- a/lib/dns/opensslrsa_link.c +++ b/lib/dns/opensslrsa_link.c @@ -99,7 +99,7 @@ (rsa)->flags &= ~(RSA_FLAG_CACHE_PUBLIC | RSA_FLAG_CACHE_PRIVATE); \ (rsa)->flags &= ~RSA_FLAG_BLINDING; \ } while (0) -#elif OPENSSL_VERSION_NUMBER < 0x10100000L +#elif OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) #if defined(RSA_FLAG_NO_BLINDING) #define SET_FLAGS(rsa) \ do { \