summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2015-05-28 12:32:54 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-08-24 14:05:29 (GMT)
commit41d771c62817c42d088e3b5338446d1b19344dd7 (patch)
tree43df7ed9b6190e2a3cabf027eaa48589bd7a1a31
parenta7a54cabad24e2d4388b633eb7a8166c793960aa (diff)
downloadlasso-41d771c62817c42d088e3b5338446d1b19344dd7.zip
lasso-41d771c62817c42d088e3b5338446d1b19344dd7.tar.gz
lasso-41d771c62817c42d088e3b5338446d1b19344dd7.tar.bz2
Add ECP and PAOS to prefix_from_href_and_nodename()
prefix_from_href_and_nodename() did not know about the ECP and PAOS XML prefixes so add them. Signed-off-by: John Dennis <jdennis@redhat.com> License: MIT
-rw-r--r--lasso/xml/xml.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c
index 397a1b0..7c4c90b 100644
--- a/lasso/xml/xml.c
+++ b/lasso/xml/xml.c
@@ -2313,6 +2313,10 @@ prefix_from_href_and_nodename(const xmlChar *href, G_GNUC_UNUSED const xmlChar *
prefix = "Saml2";
else if (strcmp((char*)href, LASSO_SAML2_PROTOCOL_HREF) == 0)
prefix = "Samlp2";
+ else if (strcmp((char*)href, LASSO_ECP_HREF) == 0)
+ prefix = "Ecp";
+ else if (strcmp((char*)href, LASSO_PAOS_HREF) == 0)
+ prefix = "Paos";
else if (strcmp((char*)href, LASSO_SOAP_ENV_HREF) == 0)
prefix = "Soap";
else if (strcmp((char*)href, LASSO_DS_HREF) == 0)