summaryrefslogtreecommitdiffstats
path: root/lasso/errors.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-09-04 11:41:39 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-09-04 11:41:39 +0000
commit6edfa7935f68fb10282eb878ab1caa6147efc88f (patch)
tree7d5c68fdf9f4898b616b2a3dea4f91e8064bb268 /lasso/errors.c
parent24430806e6761766e6cd8a309a0c087dd90f178e (diff)
downloadlasso-6edfa7935f68fb10282eb878ab1caa6147efc88f.tar.gz
lasso-6edfa7935f68fb10282eb878ab1caa6147efc88f.tar.xz
lasso-6edfa7935f68fb10282eb878ab1caa6147efc88f.zip
Add a new error code, with the REGISTRY prefix and use it in registry function
returning an error code. Fix a typo when retrieving a quark string in the registry modulke. Improve tests for functional mapping.
Diffstat (limited to 'lasso/errors.c')
-rw-r--r--lasso/errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lasso/errors.c b/lasso/errors.c
index ec64168e..671fc1c2 100644
--- a/lasso/errors.c
+++ b/lasso/errors.c
@@ -109,6 +109,8 @@ lasso_strerror(int error_code)
return "Missing SAML artifact";
case LASSO_DS_ERROR_INVALID_SIGALG:
return "Invalid signature algorithm.";
+ case LASSO_REGISTRY_ERROR_KEY_EXISTS:
+ return "Key alreadys exists in the registry";
case LASSO_LOGOUT_ERROR_UNSUPPORTED_PROFILE:
return "Unsupported protocol profile";
case LASSO_LOGIN_ERROR_NO_DEFAULT_ENDPOINT: