Project

General

Profile

Development #85340

Patch to address implicit function declarations

Added by Rob Crittenden 5 months ago. Updated 4 months ago.

Status:
Résolu (à déployer)
Priority:
Normal
Category:
-
Target version:
-
Start date:
05 January 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

The Fedora project is testing GCC 14 which includes stricter validations. They have included an upstream patch into Fedora rawhide. It addresses a few implicit function declarations due to missing includes. It is a very simple change.

commit a8e038a11b13dc9899023e9c6ed027843bca8503 (HEAD ->
rawhide, origin/rawhide, origin/main)
Author: Yaakov Selkowitz <>
Date: Tue Dec 26 00:35:47 2023 -0500

Fix for https://fedoraproject.org/wiki/Changes/PortingToModernC
tools.c:264:16: error: implicit declaration of function 'PEM_read_bio_PUBKEY
'
tools.c:270:32: error: implicit declaration of function 'PEM_read_bio_Privat
eKey'
tools.c:276:48: error: implicit declaration of function 'PEM_read_bio_X509'
tools.c:347:20: error: implicit declaration of function 'PEM_read_X509'

diff --git a/fix-openssl-implicit-declarations.patch b/fix-openssl-implicit-d
eclarations.patch
new file mode 100644
index 0000000..088f36b
--- /dev/null
++ b/fix-openssl-implicit-declarations.patch
@ -0,0 +1,12 @
+diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c
+index 385858d1..bbc87d9f 100644
--- a/lasso/xml/tools.c
+++ b/lasso/xml/tools.c
@ -47,6 +47,7 @
+ #include <libxml/xmlIO.h>
+
+ #include <openssl/evp.h>
+#include <openssl/pem.h>

+ #include <xmlsec/base64.h>
+ #include <xmlsec/crypto.h>

Associated revisions

Revision 9767cdf7 (diff)
Added by Benjamin Dauvergne 4 months ago

misc: fix implicit function declaration errors (#85340)

History

#1

Updated by Benjamin Dauvergne 4 months ago

  • Assignee set to Benjamin Dauvergne
#2

Updated by Robot Gitea 4 months ago

  • Status changed from Nouveau to Solution proposée

Benjamin Dauvergne (bdauvergne) a ouvert une pull request sur Gitea concernant cette demande :

#3

Updated by Robot Gitea 4 months ago

  • Status changed from Solution proposée to Résolu (à déployer)

Benjamin Dauvergne (bdauvergne) a mergé une pull request sur Gitea concernant cette demande :

Also available in: Atom PDF