mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
xmlsec1: upgrade 1.2.37 -> 1.3.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
-43
@@ -1,43 +0,0 @@
|
|||||||
From 30e1afe60820c18c89cd10e9dcb7208ad5676d1d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
|
||||||
Date: Thu, 19 Jan 2023 15:06:35 -0800
|
|
||||||
Subject: [PATCH] xmldsigverify: Include xmlsec/parser.h
|
|
||||||
|
|
||||||
this ensures that xmlSecParserSetDefaultOptions definition is made
|
|
||||||
available
|
|
||||||
|
|
||||||
Fixes
|
|
||||||
| xmldsigverify.c:275:5: error: call to undeclared function 'xmlSecParserSetDefaultOptions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
|
|
||||||
| xmlSecParserSetDefaultOptions(XML_PARSE_NOENT | XML_PARSE_NOCDATA |
|
|
||||||
| ^
|
|
||||||
|
|
||||||
Upstream-Status: Submitted [https://github.com/lsh123/xmlsec/pull/463]
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
||||||
---
|
|
||||||
examples/xmldsigverify.c | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/examples/xmldsigverify.c b/examples/xmldsigverify.c
|
|
||||||
index ed538c70..ff68120e 100644
|
|
||||||
--- a/examples/xmldsigverify.c
|
|
||||||
+++ b/examples/xmldsigverify.c
|
|
||||||
@@ -25,6 +25,7 @@
|
|
||||||
#include <xmlsec/xmldsig.h>
|
|
||||||
#include <xmlsec/crypto.h>
|
|
||||||
|
|
||||||
+#include <xmlsec/parser.h>
|
|
||||||
/* #define XMLDSIGVERIFY_DEFAULT_TRUSTED_CERTS_FOLDER "/etc/httpd/conf/ssl.crt" */
|
|
||||||
#define XMLDSIGVERIFY_DEFAULT_TRUSTED_CERTS_FOLDER "/var/www/cgi-bin/keys-certs.def"
|
|
||||||
#define XMLDSIGVERIFY_KEY_AND_CERTS_FOLDER "/var/www/cgi-bin/keys-certs"
|
|
||||||
@@ -36,7 +37,7 @@ int verify_request(xmlSecKeysMngrPtr mngr);
|
|
||||||
int url_decode(char *buf, size_t size);
|
|
||||||
|
|
||||||
int
|
|
||||||
-main(int , char **) {
|
|
||||||
+main() {
|
|
||||||
xmlSecKeysMngrPtr mngr;
|
|
||||||
#ifndef XMLSEC_NO_XSLT
|
|
||||||
xsltSecurityPrefsPtr xsltSecPrefs = NULL;
|
|
||||||
--
|
|
||||||
2.39.1
|
|
||||||
|
|
||||||
+9
-10
@@ -13,17 +13,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0"
|
|||||||
SECTION = "libs"
|
SECTION = "libs"
|
||||||
|
|
||||||
SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \
|
SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \
|
||||||
file://fix-ltmain.sh.patch \
|
file://fix-ltmain.sh.patch \
|
||||||
file://change-finding-path-of-nss.patch \
|
file://change-finding-path-of-nss.patch \
|
||||||
file://makefile-ptest.patch \
|
file://makefile-ptest.patch \
|
||||||
file://xmlsec1-examples-allow-build-in-separate-dir.patch \
|
file://xmlsec1-examples-allow-build-in-separate-dir.patch \
|
||||||
file://0001-nss-nspr-fix-for-multilib.patch \
|
file://0001-nss-nspr-fix-for-multilib.patch \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
file://ensure-search-path-non-host.patch \
|
file://ensure-search-path-non-host.patch \
|
||||||
file://0001-xmldsigverify-Include-xmlsec-parser.h.patch \
|
"
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "5f8dfbcb6d1e56bddd0b5ec2e00a3d0ca5342a9f57c24dffde5c796b2be2871c"
|
SRC_URI[sha256sum] = "4003c56b3d356d21b1db7775318540fad6bfedaf5f117e8f7c010811219be3cf"
|
||||||
|
|
||||||
inherit autotools-brokensep ptest pkgconfig
|
inherit autotools-brokensep ptest pkgconfig
|
||||||
|
|
||||||
Reference in New Issue
Block a user