summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-12-28 13:20:49 (UTC)
committer Michael Krelin <hacker@klever.net>2008-01-04 18:18:43 (UTC)
commitf18a3be558f9df3267f6de4f5889cb16b420be98 (patch) (side-by-side diff)
treed77f2282b1c812402da3f291394d39fcfd33597e
parent2ddc48944c5238fa1b99e50fc194d220d9e92f43 (diff)
downloadlibopkele-f18a3be558f9df3267f6de4f5889cb16b420be98.zip
libopkele-f18a3be558f9df3267f6de4f5889cb16b420be98.tar.gz
libopkele-f18a3be558f9df3267f6de4f5889cb16b420be98.tar.bz2
fixed sreg namespace setting ('sreg.ns' to 'ns.sreg')
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/sreg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sreg.cc b/lib/sreg.cc
index dd7ed12..03edf57 100644
--- a/lib/sreg.cc
+++ b/lib/sreg.cc
@@ -37,13 +37,13 @@ namespace opkele {
}
if(f->fieldbit&fields_optional) {
if(!fo.empty()) fo+=",";
fo += f->fieldname;
}
}
- p["sreg.ns"] = OIURI_SREG11;
+ p["ns.sreg"] = OIURI_SREG11;
if(!fr.empty()) p["sreg.required"]=fr;
if(!fo.empty()) p["sreg.optional"]=fo;
if(!policy_url.empty()) p["sreg.policy_url"]=policy_url;
}
void sreg_t::id_res_hook(const params_t& /* p */,const params_t& sp,const string& /* identity */) {