summaryrefslogtreecommitdiffstats
path: root/meta-security/recipes-security/xmlsec1
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-03-27 15:49:48 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-03-27 16:48:03 +0200
commitab37c81e19edbff7c1cacea831d7257ca2206701 (patch)
treee96559ac2ca26328eaf3365d338b73fbb4b30af3 /meta-security/recipes-security/xmlsec1
parent6f2f778387f743d057686352fdb79a9711735cb2 (diff)
xmlsec1: Fix compilation issue in examples
When the feature agl-ptest is selected, it leads to a compilation error due to an unexpected character in the file examples/verify3.c. Bug-AGL: SPEC-1353 Change-Id: Idcda2eed181636a9229b4a666a1ef31eddc6309c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'meta-security/recipes-security/xmlsec1')
-rw-r--r--meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch11
-rw-r--r--meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend3
2 files changed, 14 insertions, 0 deletions
diff --git a/meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch b/meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch
new file mode 100644
index 000000000..185ed8f98
--- /dev/null
+++ b/meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch
@@ -0,0 +1,11 @@
+diff --git a/examples/verify3.c b/examples/verify3.c
+index 2d26ae7..d36552d 100644
+--- a/examples/verify3.c
++++ b/examples/verify3.c
+@@ -1,4 +1,4 @@
+-4/**
++/**
+ * XML Security Library example: Verifying a file signed with X509 certificate
+ *
+ * Verifies a file signed with X509 certificate.
+
diff --git a/meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend b/meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend
new file mode 100644
index 000000000..047ab402c
--- /dev/null
+++ b/meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+SRC_URI += "file://remove-4-in-verify3.patch"
+