diff -urN libp11-0.4.11.orig/src/libp11-int.h libp11-0.4.11/src/libp11-int.h --- libp11-0.4.11.orig/src/libp11-int.h 2022-04-03 22:13:38.030357425 +0200 +++ libp11-0.4.11/src/libp11-int.h 2022-04-03 22:14:45.018352955 +0200 @@ -152,7 +152,7 @@ #endif /* Emulate the OpenSSL 1.1 getters */ -#if OPENSSL_VERSION_NUMBER < 0x10100003L || defined(LIBRESSL_VERSION_NUMBER) +#if OPENSSL_VERSION_NUMBER < 0x10100003L #define EVP_PKEY_get0_RSA(key) ((key)->pkey.rsa) #define EVP_PKEY_get0_EC_KEY(key) ((key)->pkey.ec) #endif