lasso/fix-openssl-implicit-declarations.patch
Yaakov Selkowitz a8e038a11b 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_PrivateKey'
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'
2023-12-26 00:37:26 -05:00

13 lines
288 B
Diff

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>