diff --git a/patches/sbsigntools_pre.local.patch b/patches/sbsigntools_pre.local.patch index bc1c7a2..4fb7927 100644 --- a/patches/sbsigntools_pre.local.patch +++ b/patches/sbsigntools_pre.local.patch @@ -71,7 +71,7 @@ diff -ru sbsigntools-0.9.3.orig/src/sbverify.c sbsigntools/src/sbverify.c #include -#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x3050000fL #define X509_OBJECT_get0_X509(obj) ((obj)->data.x509) #define X509_OBJECT_get_type(obj) ((obj)->type) #define X509_STORE_CTX_get0_cert(ctx) ((ctx)->cert)