summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2004-08-06 07:35:07 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2004-08-06 07:35:07 +0000
commit9890e8a98122338981df72e92e82ed271f98bdb1 (patch)
treeb0fe7f50da744faab263e696b6ba5da9b9f0c0e3
parent451672047ae33ca53c79d40af31c16d6b4cd1970 (diff)
downloadlasso-9890e8a98122338981df72e92e82ed271f98bdb1.tar.gz
lasso-9890e8a98122338981df72e92e82ed271f98bdb1.tar.xz
lasso-9890e8a98122338981df72e92e82ed271f98bdb1.zip
updated code style
-rw-r--r--lasso/id-ff/lecp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lasso/id-ff/lecp.c b/lasso/id-ff/lecp.c
index 719c51de..6f6edcae 100644
--- a/lasso/id-ff/lecp.c
+++ b/lasso/id-ff/lecp.c
@@ -57,14 +57,14 @@ lasso_lecp_build_authn_request_envelope_msg(LassoLecp *lecp)
lecp->authnRequestEnvelope = lasso_authn_request_envelope_new(LASSO_AUTHN_REQUEST(profile->request),
profile->server->providerID,
assertionConsumerServiceURL);
- if (lecp->authnRequestEnvelope==NULL) {
+ if (lecp->authnRequestEnvelope == NULL) {
message(G_LOG_LEVEL_CRITICAL, "Error while building AuthnRequestEnvelope\n");
return(-1);
}
/* FIXME : export to base 64 or simple xml dump */
profile->msg_body = lasso_node_export_to_base64(lecp->authnRequestEnvelope);
- if (profile->msg_body==NULL) {
+ if (profile->msg_body == NULL) {
message(G_LOG_LEVEL_CRITICAL, "Error while exporting the AuthnRequestEnvelope to POST msg\n");
return(-1);
}
@@ -83,7 +83,7 @@ lasso_lecp_build_authn_request_msg(LassoLecp *lecp)
profile->msg_url = NULL; /* Proxy knows the SOAP EndPoint of the IDP */
profile->msg_body = lasso_node_export_to_soap(profile->request);
- if (profile->msg_body==NULL) {
+ if (profile->msg_body == NULL) {
message(G_LOG_LEVEL_CRITICAL, "Error while building the AuthnRequest SOAP message\n");
return(-1);
}
@@ -100,12 +100,12 @@ lasso_lecp_build_authn_response_msg(LassoLecp *lecp)
profile = LASSO_PROFILE(lecp);
profile->msg_url = g_strdup(lecp->assertionConsumerServiceURL);
- if (profile->msg_url==NULL) {
+ if (profile->msg_url == NULL) {
message(G_LOG_LEVEL_CRITICAL, "AssertionConsumerServiceURL not found\n");
return(-1);
}
profile->msg_body = lasso_node_export_to_base64(profile->response);
- if (profile->msg_body==NULL) {
+ if (profile->msg_body == NULL) {
message(G_LOG_LEVEL_CRITICAL, "AuthnResponse base64 msg not found\n");
return(-1);
}