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
This commit is contained in:
John Dennis 2015-05-28 08:32:54 -04:00 committed by Benjamin Dauvergne
parent a7a54cabad
commit 41d771c628
1 changed files with 4 additions and 0 deletions

View File

@ -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)