author | Michael Krelin <hacker@klever.net> | 2008-06-25 21:34:15 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-06-25 21:34:15 (UTC) |
commit | 903f7b8108cdb9d1340267f456f23815ead5e807 (patch) (side-by-side diff) | |
tree | 19f1845a272093c9509f8ad0230f5f2371b62985 | |
parent | 2744ea9808c3a6c50f8be78a9a71f6d3b2ba7e00 (diff) | |
download | libopkele-903f7b8108cdb9d1340267f456f23815ead5e807.zip libopkele-903f7b8108cdb9d1340267f456f23815ead5e807.tar.gz libopkele-903f7b8108cdb9d1340267f456f23815ead5e807.tar.bz2 |
make compiler a bit happier
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | lib/prequeue_rp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/prequeue_rp.cc b/lib/prequeue_rp.cc index ed1ddfe..e499d08 100644 --- a/lib/prequeue_rp.cc +++ b/lib/prequeue_rp.cc @@ -33,27 +33,27 @@ namespace opkele { || oep.local_id==IDURI_SELECT20 ) throw bad_input(OPKELE_CP_ "claimed_id is an OP-Id"); if(oep.local_id==id) throw __OP_verifier_good_input(OPKELE_CP_ "Found corresponding endpoint"); } return *this; } OP_verifier& operator++() { return *this; } OP_verifier& operator++(int) { return *this; } }; - void prequeue_RP::verify_OP(const string& OP,const string& claimed_id,const string& identity) const { + void prequeue_RP::verify_OP(const string& OP,const string& claimed_id,const string& id) const { try { - discover(OP_verifier(OP,identity),claimed_id); + discover(OP_verifier(OP,id),claimed_id); throw id_res_unauthorized(OPKELE_CP_ "OP is not authorized to make an assertion regarding the identity"); }catch(__OP_verifier_good_input& ovgi) { } } class endpoint_queuer : public iterator<output_iterator_tag,openid_endpoint_t,void> { public: prequeue_RP& rp; endpoint_queuer(prequeue_RP& r) : rp(r) { } |