|
|
|
@@ -61,4 +61,4 @@ class example_op_t : public opkele::verify_OP { |
61 | |
61 | |
62 | example_op_t(kingate::cgi_gateway& gw) |
62 | example_op_t(kingate::cgi_gateway& g) |
63 | : gw(gw) { |
63 | : gw(g) { |
64 | try { |
64 | try { |
@@ -202,3 +202,3 @@ class example_op_t : public opkele::verify_OP { |
202 | |
202 | |
203 | int main(int argc,char *argv[]) { |
203 | int main(int,char **) { |
204 | try { |
204 | try { |
@@ -246,4 +246,4 @@ int main(int argc,char *argv[]) { |
246 | } |
246 | } |
247 | string om; |
247 | string omode; |
248 | try { om = gw.get_param("openid.mode"); }catch(kingate::exception_notfound&) { } |
248 | try { omode = gw.get_param("openid.mode"); }catch(kingate::exception_notfound&) { } |
249 | if(op=="xrds") { |
249 | if(op=="xrds") { |
@@ -297,3 +297,3 @@ int main(int argc,char *argv[]) { |
297 | om.to_keyvalues(clog); |
297 | om.to_keyvalues(clog); |
298 | }else if(om=="associate") { |
298 | }else if(omode=="associate") { |
299 | kingate_openid_message_t inm(gw); |
299 | kingate_openid_message_t inm(gw); |
@@ -304,3 +304,3 @@ int main(int argc,char *argv[]) { |
304 | oum.to_keyvalues(cout); |
304 | oum.to_keyvalues(cout); |
305 | }else if(om=="checkid_setup") { |
305 | }else if(omode=="checkid_setup") { |
306 | kingate_openid_message_t inm(gw); |
306 | kingate_openid_message_t inm(gw); |
@@ -338,3 +338,3 @@ int main(int argc,char *argv[]) { |
338 | "</html>"; |
338 | "</html>"; |
339 | }else if(om=="check_authentication") { |
339 | }else if(omode=="check_authentication") { |
340 | kingate_openid_message_t inm(gw); |
340 | kingate_openid_message_t inm(gw); |
|