diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2005-01-29 18:48:41 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2005-01-29 18:48:41 +0000 |
| commit | af1459ccd9217d5868f87d821aab52e85a06252a (patch) | |
| tree | d0d37b4594e0afde0899dbd1ce4f660c5a631efa | |
| parent | f65d866ecf8a914e8f948c2c01eba1474461568b (diff) | |
| download | lasso-af1459ccd9217d5868f87d821aab52e85a06252a.tar.gz lasso-af1459ccd9217d5868f87d821aab52e85a06252a.tar.xz lasso-af1459ccd9217d5868f87d821aab52e85a06252a.zip | |
removed extraneous liberty namespace registration and noted a future fix to
LECP to do.
| -rw-r--r-- | lasso/id-ff/lecp.c | 1 | ||||
| -rw-r--r-- | lasso/id-ff/provider.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lasso/id-ff/lecp.c b/lasso/id-ff/lecp.c index 3339eb8e..18b7a374 100644 --- a/lasso/id-ff/lecp.c +++ b/lasso/id-ff/lecp.c @@ -297,6 +297,7 @@ lasso_lecp_process_authn_request_envelope_msg(LassoLecp *lecp, const char *reque doc = xmlParseMemory(request_msg, strlen(request_msg)); xpathCtx = xmlXPathNewContext(doc); xmlXPathRegisterNs(xpathCtx, "lib", LASSO_LIB_HREF); + /* TODO: will need to use another href for id-ff 1.1 support */ xpathObj = xmlXPathEvalExpression("//lib:AuthnRequest", xpathCtx); if (xpathObj == NULL) diff --git a/lasso/id-ff/provider.c b/lasso/id-ff/provider.c index a008cfcd..699e36d1 100644 --- a/lasso/id-ff/provider.c +++ b/lasso/id-ff/provider.c @@ -547,7 +547,6 @@ lasso_provider_load_metadata(LassoProvider *provider, const gchar *metadata) xpathCtx = xmlXPathNewContext(doc); xmlXPathRegisterNs(xpathCtx, "md", LASSO_METADATA_HREF); - xmlXPathRegisterNs(xpathCtx, "lib", LASSO_LIB_HREF); xpathObj = xmlXPathEvalExpression("/md:EntityDescriptor", xpathCtx); /* if empty: not a ID-FF 1.2 metadata file -> bails out */ if (xpathObj->nodesetval == NULL || xpathObj->nodesetval->nodeNr == 0) { |
