diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-01 14:11:35 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-08-01 14:11:35 +0000 |
commit | c9304be702ba5ffbbce3ac57f77cbeb865808e38 (patch) | |
tree | 9af94f576b9b468ee2cd0e48c94b0882bfb418eb | |
parent | a978d26323fb7d01a769d62aecd23acdca216e78 (diff) | |
download | lasso-c9304be702ba5ffbbce3ac57f77cbeb865808e38.tar.gz lasso-c9304be702ba5ffbbce3ac57f77cbeb865808e38.tar.xz lasso-c9304be702ba5ffbbce3ac57f77cbeb865808e38.zip |
* lasso/xml/xml.c: in samlNs, compare prefix *AND* href fields of the namespace object
-rw-r--r-- | lasso/xml/xml.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c index 8d6f27f8..49eff095 100644 --- a/lasso/xml/xml.c +++ b/lasso/xml/xml.c @@ -2400,7 +2400,8 @@ sameNs(xmlNs *ns1, xmlNs *ns2) */ return (ns1 == NULL && ns2 == NULL) || ( ns1 && ns2 && ns1->prefix && ns2->prefix && - strcmp((char*)ns1->prefix, (char*)ns2->prefix) == 0); + strcmp((char*)ns1->prefix, (char*)ns2->prefix) == 0 && + strcmp((char*)ns1->href, (char*)ns2->href) == 0); } static void |