mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-22 00:41:55 -09:00
package/boinc: fix build with OpenSSL 4.0.0
Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
4fab16d9c2
commit
213ee34f03
@@ -0,0 +1,26 @@
|
||||
From 9cdcef8261be4891b4814c6f728dcee65027e5da Mon Sep 17 00:00:00 2001
|
||||
From: Gianfranco Costamagna <locutusofborg@debian.org>
|
||||
Date: Wed, 26 Aug 2026 12:27:54 +0200
|
||||
Subject: [PATCH] Adapt code to fix a build failure with openssl-4.0
|
||||
|
||||
Upstream: https://github.com/BOINC/boinc/commit/9cdcef8261be4891b4814c6f728dcee65027e5da
|
||||
|
||||
[Bernd: backported to 8.2.15]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
lib/crypt.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/crypt.cpp b/lib/crypt.cpp
|
||||
index 17a9b57b3eb..b54e2f050ad 100644
|
||||
--- a/lib/crypt.cpp
|
||||
+++ b/lib/crypt.cpp
|
||||
@@ -774,7 +774,7 @@
|
||||
DATA_BLOCK sig_db;
|
||||
BIO *bio;
|
||||
X509 *cert;
|
||||
- X509_NAME *subj;
|
||||
+ const X509_NAME *subj;
|
||||
|
||||
if (signatures->signatures.size() == 0) {
|
||||
printf("No signatures available for file ('%s').\n", origFile);
|
||||
Reference in New Issue
Block a user