diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-09-12 13:57:22 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-09-12 13:57:22 +0000 |
commit | ae1f6a297c62a7fd0bcf33865629eb21ef1e87d5 (patch) | |
tree | 603f6fd56afa65121efea79e07363215ca023ee9 /lasso/saml-2.0/loginprivate.h | |
parent | 61f2ccf37ada78617d0e5a5a69d4a7f7cd5b5657 (diff) | |
download | lasso-ae1f6a297c62a7fd0bcf33865629eb21ef1e87d5.tar.gz lasso-ae1f6a297c62a7fd0bcf33865629eb21ef1e87d5.tar.xz lasso-ae1f6a297c62a7fd0bcf33865629eb21ef1e87d5.zip |
* Remove warnings:
- remove unused parameter from private function signatures
- remove unused variable
- initialize variable potentially accessed uninitialized
- add G_GNUC_UNUSED if function is public or adhering to an interface, and a
parameter is unused.
- if ID-WSF is not compiled in, define stubs with G_GNUC_UNUSED on parameters.
The goal is to compile with -Werror.
Diffstat (limited to 'lasso/saml-2.0/loginprivate.h')
-rw-r--r-- | lasso/saml-2.0/loginprivate.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lasso/saml-2.0/loginprivate.h b/lasso/saml-2.0/loginprivate.h index adb2fe01..673fd5d1 100644 --- a/lasso/saml-2.0/loginprivate.h +++ b/lasso/saml-2.0/loginprivate.h @@ -31,8 +31,7 @@ extern "C" { #include <lasso/id-ff/login.h> -gint lasso_saml20_login_init_authn_request(LassoLogin *login, LassoProvider *remote_provider, - LassoHttpMethod http_method); +gint lasso_saml20_login_init_authn_request(LassoLogin *login, LassoHttpMethod http_method); gint lasso_saml20_login_build_authn_request_msg(LassoLogin *login, LassoProvider *remote_provider); gint lasso_saml20_login_build_authn_response_msg(LassoLogin *login); gint lasso_saml20_login_process_authn_request_msg(LassoLogin *login, const char *authn_request_msg); @@ -42,14 +41,13 @@ int lasso_saml20_login_validate_request_msg(LassoLogin *login, gboolean authenti gboolean is_consent_obtained); int lasso_saml20_login_build_assertion(LassoLogin *login, const char *authenticationMethod, const char *authenticationInstant, - const char *reauthenticateOnOrAfter, const char *notBefore, - const char *notOnOrAfter); + const char *notBefore, const char *notOnOrAfter); gint lasso_saml20_login_build_artifact_msg(LassoLogin *login, LassoHttpMethod http_method); gint lasso_saml20_login_init_request(LassoLogin *login, gchar *response_msg, LassoHttpMethod response_http_method); gint lasso_saml20_login_build_request_msg(LassoLogin *login); gint lasso_saml20_login_process_request_msg(LassoLogin *login, gchar *request_msg); -gint lasso_saml20_login_build_response_msg(LassoLogin *login, gchar *remote_providerID); +gint lasso_saml20_login_build_response_msg(LassoLogin *login); gint lasso_saml20_login_process_response_msg(LassoLogin *login, gchar *response_msg); gint lasso_saml20_login_process_authn_response_msg(LassoLogin *login, gchar *authn_response_msg); gint lasso_saml20_login_accept_sso(LassoLogin *login); |