summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2022-02-24 23:07:18 +0100
committerØrjan Malde <red@foxi.me>2022-02-24 23:07:18 +0100
commitbac3aa45b63647488b874b7be2959490a16bc1c2 (patch)
treedc081f7672603f24446dbb869a4492c2e4e65a44
parenta9dcb0bef252e9bed4981b3bffc075cb79f6fbc2 (diff)
downloadmidipix_build-bac3aa45b63647488b874b7be2959490a16bc1c2.tar.bz2
midipix_build-bac3aa45b63647488b874b7be2959490a16bc1c2.tar.xz
patches/sbsigntools_pre.local.patch: update patch.
Signed-off-by: Ørjan Malde <red@foxi.me>
-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)