diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-12-19 20:34:22 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-12-19 20:34:22 +0000 |
commit | 95afff30e76e9a0cf32651f726ea932b678c7410 (patch) | |
tree | ae851ffbbe7df619190cea47a31228c7eadafad7 /lasso/xml/samlp_response.c | |
parent | 5f74157e3a2450eb066a3e2e19561612894a6cd1 (diff) | |
download | lasso-95afff30e76e9a0cf32651f726ea932b678c7410.tar.gz lasso-95afff30e76e9a0cf32651f726ea932b678c7410.tar.xz lasso-95afff30e76e9a0cf32651f726ea932b678c7410.zip |
Added differentiation between creating xmlnode for lasso use (the _dump
functions) and creating xmlnode for the wire (export_to_soap...). This
was necessary to keep track of private_key_file to use on an Assertion
while it was kept in a lasso session dump and restored later.
This means the get_xmlNode functions have now a second parameter, gboolean
lasso_dump, TRUE when dumping for lasso internal use.
On the bright side assertions are now signed (that signature is not yet
checked).
Diffstat (limited to 'lasso/xml/samlp_response.c')
-rw-r--r-- | lasso/xml/samlp_response.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/xml/samlp_response.c b/lasso/xml/samlp_response.c index 27371848..5638538c 100644 --- a/lasso/xml/samlp_response.c +++ b/lasso/xml/samlp_response.c @@ -55,11 +55,11 @@ static struct XmlSnippet schema_snippets[] = { static LassoNodeClass *parent_class = NULL; static xmlNode* -get_xmlNode(LassoNode *node) +get_xmlNode(LassoNode *node, gboolean lasso_dump) { xmlNode *xmlnode, *t; - xmlnode = parent_class->get_xmlNode(node); + xmlnode = parent_class->get_xmlNode(node, lasso_dump); for (t = xmlnode->children; t && strcmp(t->name, "Assertion"); t = t->next) ; |