summaryrefslogtreecommitdiffhomepage
path: root/patches/sbsigntools_pre.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/sbsigntools_pre.local.patch')
-rw-r--r--patches/sbsigntools_pre.local.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/sbsigntools_pre.local.patch b/patches/sbsigntools_pre.local.patch
index bc1c7a2c..4fb79276 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 <openssl/x509v3.h>
-#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)