diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-11-29 16:38:58 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-11-29 16:38:58 +0000 |
| commit | 939697c22dab09ab3b29faef6de4d11112c6eb70 (patch) | |
| tree | fa5a36895bd5250a9ce1db2cffa80e22c07db5c2 | |
| parent | 66ac8c4d0222b092e8cebfecdc4d2c0d3f8c2f92 (diff) | |
| download | lasso-939697c22dab09ab3b29faef6de4d11112c6eb70.tar.gz lasso-939697c22dab09ab3b29faef6de4d11112c6eb70.tar.xz lasso-939697c22dab09ab3b29faef6de4d11112c6eb70.zip | |
cut on some line lengths
| -rw-r--r-- | lasso/id-ff/defederation.c | 3 | ||||
| -rw-r--r-- | lasso/id-ff/login.c | 12 | ||||
| -rw-r--r-- | lasso/id-ff/name_identifier_mapping.c | 3 | ||||
| -rw-r--r-- | lasso/id-ff/name_registration.c | 6 | ||||
| -rw-r--r-- | lasso/id-ff/name_registration.h | 3 | ||||
| -rw-r--r-- | lasso/xml/disco_description.h | 6 | ||||
| -rw-r--r-- | lasso/xml/disco_insert_entry.h | 3 | ||||
| -rw-r--r-- | lasso/xml/disco_query.h | 3 | ||||
| -rw-r--r-- | lasso/xml/disco_remove_entry.h | 3 |
9 files changed, 26 insertions, 16 deletions
diff --git a/lasso/id-ff/defederation.c b/lasso/id-ff/defederation.c index d6b77254..bc9914b2 100644 --- a/lasso/id-ff/defederation.c +++ b/lasso/id-ff/defederation.c @@ -80,7 +80,8 @@ lasso_defederation_build_notification_msg(LassoDefederation *defederation) /* build the federation termination notification message (SOAP or HTTP-Redirect) */ if (profile->http_request_method == LASSO_HTTP_METHOD_SOAP) { /* build the logout request message */ - profile->msg_url = lasso_provider_get_metadata_one(remote_provider, "SoapEndpoint"); + profile->msg_url = lasso_provider_get_metadata_one( + remote_provider, "SoapEndpoint"); profile->msg_body = lasso_node_export_to_soap(profile->request, profile->server->private_key, profile->server->certificate); } diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index f360675d..4111da2c 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -167,7 +167,7 @@ lasso_login_must_ask_for_consent_private(LassoLogin *login) if (strcmp(nameIDPolicy, LASSO_LIB_NAMEID_POLICY_TYPE_FEDERATED) != 0 && strcmp(nameIDPolicy, LASSO_LIB_NAMEID_POLICY_TYPE_ANY) != 0) { message(G_LOG_LEVEL_CRITICAL, "Unknown NameIDPolicy: %s", nameIDPolicy); - /* we consider NameIDPolicy as empty (none value) if its value is unknown/invalid */ + /* NameIDPolicy is considered empty (None value) if its value is unknown/invalid */ return TRUE; } @@ -1079,7 +1079,7 @@ lasso_login_process_authn_request_msg(LassoLogin *login, const char *authn_reque { LassoProvider *remote_provider; gchar *protocolProfile; - gchar *md_authnRequestsSigned; + gchar *authnRequestSigned; gboolean must_verify_signature = FALSE; gint ret = 0; LassoLibAuthnRequest *request; @@ -1152,11 +1152,11 @@ lasso_login_process_authn_request_msg(LassoLogin *login, const char *authn_reque LASSO_PROFILE(login)->remote_providerID); if (remote_provider != NULL) { /* Is authnRequest signed ? */ - md_authnRequestsSigned = lasso_provider_get_metadata_one( + authnRequestSigned = lasso_provider_get_metadata_one( remote_provider, "AuthnRequestsSigned"); - if (md_authnRequestsSigned != NULL) { - must_verify_signature = strcmp(md_authnRequestsSigned, "true") == 0; - g_free(md_authnRequestsSigned); + if (authnRequestSigned != NULL) { + must_verify_signature = strcmp(authnRequestSigned, "true") == 0; + g_free(authnRequestSigned); } else { /* AuthnRequestsSigned element is required */ message(G_LOG_LEVEL_CRITICAL, "XXX"); diff --git a/lasso/id-ff/name_identifier_mapping.c b/lasso/id-ff/name_identifier_mapping.c index f966ec6b..5c88657f 100644 --- a/lasso/id-ff/name_identifier_mapping.c +++ b/lasso/id-ff/name_identifier_mapping.c @@ -341,7 +341,8 @@ lasso_name_identifier_mapping_validate_request(LassoNameIdentifierMapping *mappi /* verify signature status */ if (profile->signature_status != 0) { - lasso_profile_set_response_status(profile, LASSO_LIB_STATUS_CODE_INVALID_SIGNATURE); + lasso_profile_set_response_status(profile, + LASSO_LIB_STATUS_CODE_INVALID_SIGNATURE); } /* Verify identity attribute of mapping object */ diff --git a/lasso/id-ff/name_registration.c b/lasso/id-ff/name_registration.c index 1a455de4..9725a52e 100644 --- a/lasso/id-ff/name_registration.c +++ b/lasso/id-ff/name_registration.c @@ -68,7 +68,8 @@ lasso_name_registration_build_request_msg(LassoNameRegistration *name_registrati } if (profile->http_request_method == LASSO_HTTP_METHOD_SOAP) { - profile->msg_url = lasso_provider_get_metadata_one(remote_provider, "SoapEndpoint"); + profile->msg_url = lasso_provider_get_metadata_one( + remote_provider, "SoapEndpoint"); profile->msg_body = lasso_node_export_to_soap(profile->request, profile->server->private_key, profile->server->certificate); return 0; @@ -247,7 +248,8 @@ lasso_name_registration_init_request(LassoNameRegistration *name_registration, name_registration->oldNameIdentifier = g_strdup(profile->nameIdentifier); } else { profile->nameIdentifier = g_strdup(idpNameIdentifier->content); - name_registration->oldNameIdentifier = g_strdup(oldNameIdentifier->content); + name_registration->oldNameIdentifier = g_strdup( + oldNameIdentifier->content); } } diff --git a/lasso/id-ff/name_registration.h b/lasso/id-ff/name_registration.h index f3da4c80..60a461d6 100644 --- a/lasso/id-ff/name_registration.h +++ b/lasso/id-ff/name_registration.h @@ -39,7 +39,8 @@ extern "C" { #define LASSO_NAME_REGISTRATION(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_NAME_REGISTRATION, LassoNameRegistration)) #define LASSO_NAME_REGISTRATION_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_NAME_REGISTRATION, LassoNameRegistrationClass)) + (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_NAME_REGISTRATION, \ + LassoNameRegistrationClass)) #define LASSO_IS_NAME_REGISTRATION(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_NAME_REGISTRATION)) #define LASSO_IS_NAME_REGISTRATION_CLASS(klass) \ diff --git a/lasso/xml/disco_description.h b/lasso/xml/disco_description.h index 70422ad3..04edbce3 100644 --- a/lasso/xml/disco_description.h +++ b/lasso/xml/disco_description.h @@ -36,13 +36,15 @@ extern "C" { #define LASSO_DISCO_DESCRIPTION(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_DESCRIPTION, LassoDiscoDescription)) #define LASSO_DISCO_DESCRIPTION_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_DESCRIPTION, LassoDiscoDescriptionClass)) + (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_DESCRIPTION, \ + LassoDiscoDescriptionClass)) #define LASSO_IS_DISCO_DESCRIPTION(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_DESCRIPTION)) #define LASSO_IS_DISCO_DESCRIPTION_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_DESCRIPTION)) #define LASSO_DISCO_DESCRIPTION_GET_CLASS(o) \ - (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_DESCRIPTION, LassoDiscoDescriptionClass)) + (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_DESCRIPTION, \ + LassoDiscoDescriptionClass)) typedef struct _LassoDiscoDescription LassoDiscoDescription; typedef struct _LassoDiscoDescriptionClass LassoDiscoDescriptionClass; diff --git a/lasso/xml/disco_insert_entry.h b/lasso/xml/disco_insert_entry.h index 4af74595..57cb1e10 100644 --- a/lasso/xml/disco_insert_entry.h +++ b/lasso/xml/disco_insert_entry.h @@ -44,7 +44,8 @@ extern "C" { #define LASSO_IS_DISCO_INSERT_ENTRY_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_INSERT_ENTRY)) #define LASSO_DISCO_INSERT_ENTRY_GET_CLASS(o) \ - (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_INSERT_ENTRY, LassoDiscoInsertEntryClass)) + (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_INSERT_ENTRY, \ + LassoDiscoInsertEntryClass)) typedef struct _LassoDiscoInsertEntry LassoDiscoInsertEntry; typedef struct _LassoDiscoInsertEntryClass LassoDiscoInsertEntryClass; diff --git a/lasso/xml/disco_query.h b/lasso/xml/disco_query.h index 8655e7bd..97c0ee2a 100644 --- a/lasso/xml/disco_query.h +++ b/lasso/xml/disco_query.h @@ -39,7 +39,8 @@ extern "C" { #define LASSO_DISCO_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \ LASSO_TYPE_DISCO_QUERY, LassoDiscoQueryClass)) #define LASSO_IS_DISCO_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_QUERY)) -#define LASSO_IS_DISCO_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_QUERY)) +#define LASSO_IS_DISCO_QUERY_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_QUERY)) #define LASSO_DISCO_QUERY_GET_CLASS(o) \ (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_QUERY, LassoDiscoQueryClass)) diff --git a/lasso/xml/disco_remove_entry.h b/lasso/xml/disco_remove_entry.h index 1516afc1..27165386 100644 --- a/lasso/xml/disco_remove_entry.h +++ b/lasso/xml/disco_remove_entry.h @@ -43,7 +43,8 @@ extern "C" { #define LASSO_IS_DISCO_REMOVE_ENTRY_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_REMOVE_ENTRY)) #define LASSO_DISCO_REMOVE_ENTRY_GET_CLASS(o) \ - (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_REMOVE_ENTRY, LassoDiscoRemoveEntryClass)) + (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_REMOVE_ENTRY, \ + LassoDiscoRemoveEntryClass)) typedef struct _LassoDiscoRemoveEntry LassoDiscoRemoveEntry; typedef struct _LassoDiscoRemoveEntryClass LassoDiscoRemoveEntryClass; |
