diff options
| -rw-r--r-- | lasso/xml/lib_logout_request.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lasso/xml/lib_logout_request.c b/lasso/xml/lib_logout_request.c index 5e0e16d4..2980d732 100644 --- a/lasso/xml/lib_logout_request.c +++ b/lasso/xml/lib_logout_request.c @@ -67,6 +67,7 @@ { "NameIdentifier", 'n', (void**)&(request->NameIdentifier) }, \ { "SessionIndex", 'c', (void**)&(request->SessionIndex) }, \ { "RelayState", 'c', (void**)&(request->RelayState) }, \ + { "consent", 'a', (void**)&(request->consent) }, \ { NULL, 0, NULL} \ }; @@ -83,9 +84,6 @@ get_xmlNode(LassoNode *node) xmlSetNs(xmlnode, xmlNewNs(xmlnode, LASSO_LIB_HREF, LASSO_LIB_PREFIX)); lasso_node_build_xml_with_snippets(xmlnode, snippets); - if (request->consent) - xmlSetProp(xmlnode, "consent", request->consent); - return xmlnode; } @@ -184,7 +182,6 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode) if (parent_class->init_from_xml(node, xmlnode)) return -1; lasso_node_init_xml_with_snippets(xmlnode, snippets); - request->consent = xmlGetProp(xmlnode, "consent"); return 0; } |
