summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-26 15:01:21 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-26 15:01:21 +0000
commitae959a9e38e85986b8e8a910cec9aaca1274565b (patch)
tree27b7be9c08b6059389e68828f8c957225fc247ee
parentf64405984fd0add3f4cef9a22ba39afde2256d43 (diff)
downloadlasso-ae959a9e38e85986b8e8a910cec9aaca1274565b.tar.gz
lasso-ae959a9e38e85986b8e8a910cec9aaca1274565b.tar.xz
lasso-ae959a9e38e85986b8e8a910cec9aaca1274565b.zip
*** empty log message ***
-rw-r--r--lasso/id-ff/login.c6
-rw-r--r--lasso/xml/ds_signature.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c
index cca500a5..c3c8fd13 100644
--- a/lasso/id-ff/login.c
+++ b/lasso/id-ff/login.c
@@ -307,7 +307,7 @@ lasso_login_build_artifact_msg(LassoLogin *login,
/* ProtocolProfile must be BrwsArt */
if (login->protocolProfile != lassoLoginProtocolProfileBrwsArt) {
- message(WARNING, "Failed to build artifact message, an AuthnResponse is required by ProtocolProfile.\n");
+ message(G_LOG_LEVEL_WARNING, "Failed to build artifact message, an AuthnResponse is required by ProtocolProfile.\n");
return (-3);
}
@@ -399,14 +399,14 @@ lasso_login_build_authn_request_msg(LassoLogin *login)
else {
/* FIXME : is there a default value for AuthnRequestsSigned */
must_sign = 0;
- message(WARNING, "The element 'AuthnRequestsSigned' is missing in metadata of server.\n");
+ message(G_LOG_LEVEL_WARNING, "The element 'AuthnRequestsSigned' is missing in metadata of server.\n");
}
/* export request depending on the request ProtocolProfile */
request_protocolProfile = lasso_provider_get_singleSignOnProtocolProfile(remote_provider);
if (request_protocolProfile == NULL) {
/* FIXME : is there a default value for SingleSignOnProtocolProfile */
- message(WARNING, "The element 'SingleSignOnProtocolProfile' is missing in metadata of remote provider.\n");
+ message(G_LOG_LEVEL_WARNING, "The element 'SingleSignOnProtocolProfile' is missing in metadata of remote provider.\n");
ret = -1;
}
diff --git a/lasso/xml/ds_signature.c b/lasso/xml/ds_signature.c
index df0c2aac..c60ad1de 100644
--- a/lasso/xml/ds_signature.c
+++ b/lasso/xml/ds_signature.c
@@ -45,7 +45,7 @@ lasso_ds_signature_sign(LassoDsSignature *node,
/* create signature context */
dsig_ctx = xmlSecDSigCtxCreate(NULL);
if(dsig_ctx == NULL) {
- debug(ERROR, "Failed to create signature context.\n");
+ debug("Failed to create signature context.\n");
return(-1);
}
@@ -55,7 +55,7 @@ lasso_ds_signature_sign(LassoDsSignature *node,
NULL, NULL, NULL);
if(dsig_ctx->signKey == NULL) {
ret = -2;
- debug(ERROR, "Failed to load private pem key from \"%s\"\n", private_key_file);
+ debug("Failed to load private pem key from \"%s\"\n", private_key_file);
goto done;
}
@@ -63,13 +63,13 @@ lasso_ds_signature_sign(LassoDsSignature *node,
if(xmlSecCryptoAppKeyCertLoad(dsig_ctx->signKey, certificate_file,
xmlSecKeyDataFormatPem) < 0) {
ret = -3;
- debug(ERROR, "Failed to load pem certificate \"%s\"\n", certificate_file);
+ debug("Failed to load pem certificate \"%s\"\n", certificate_file);
goto done;
}
/* sign the template */
if(xmlSecDSigCtxSign(dsig_ctx, signature) < 0) {
- debug(ERROR, "Signature failed.\n");
+ debug("Signature failed.\n");
}
done: