summaryrefslogtreecommitdiffstats
path: root/lasso/errors.c
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2006-09-28 16:09:54 +0000
committerFrederic Peters <fpeters@entrouvert.com>2006-09-28 16:09:54 +0000
commitb08ae207c080463c7e4247fa94dd3ee3ad480ff6 (patch)
treedf5516b1e38e88a838124fbe91dd8e5c9344a7b4 /lasso/errors.c
parent21d9435173f3e36ac17cc97ad6da5b66507a44f2 (diff)
downloadlasso-b08ae207c080463c7e4247fa94dd3ee3ad480ff6.tar.gz
lasso-b08ae207c080463c7e4247fa94dd3ee3ad480ff6.tar.xz
lasso-b08ae207c080463c7e4247fa94dd3ee3ad480ff6.zip
better error handling in slo
Diffstat (limited to 'lasso/errors.c')
-rw-r--r--lasso/errors.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lasso/errors.c b/lasso/errors.c
index 49c897ec..c4bb113a 100644
--- a/lasso/errors.c
+++ b/lasso/errors.c
@@ -79,6 +79,8 @@ lasso_strerror(int error_code)
return "Unsupported protocol profile";
case LASSO_LOGOUT_ERROR_REQUEST_DENIED:
return "Request denied by identity provider";
+ case LASSO_LOGOUT_ERROR_FEDERATION_NOT_FOUND:
+ return "Federation not found on logout";
case LASSO_PROFILE_ERROR_INVALID_QUERY:
return "Invalid URL query";
case LASSO_PROFILE_ERROR_INVALID_POST_MSG:
@@ -137,7 +139,7 @@ lasso_strerror(int error_code)
case LASSO_LOGIN_ERROR_UNKNOWN_PRINCIPAL:
return "Unknown principal";
case LASSO_LOGIN_ERROR_FEDERATION_NOT_FOUND:
- return "Federation not found";
+ return "Federation not found on login";
case LASSO_LOGIN_ERROR_REQUEST_DENIED:
return "Request denied";