summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-08-05 14:07:02 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-08-05 14:07:02 +0200
commit72e581f8cfa70417477b60d0a5b4c80c475a2482 (patch)
tree19bc316dcb215b8e8ea86cd4a24f302b1399bbcb
parent5f6c27f7b2f4eb571564f0666c0cbddb33656441 (diff)
downloadlasso-72e581f8cfa70417477b60d0a5b4c80c475a2482.tar.gz
lasso-72e581f8cfa70417477b60d0a5b4c80c475a2482.tar.xz
lasso-72e581f8cfa70417477b60d0a5b4c80c475a2482.zip
[Core] fix change of enumeration value
This change broke the API, revert it.
-rw-r--r--lasso/id-ff/provider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-ff/provider.h b/lasso/id-ff/provider.h
index fc4a6fa1..c3566c00 100644
--- a/lasso/id-ff/provider.h
+++ b/lasso/id-ff/provider.h
@@ -128,8 +128,8 @@ typedef enum {
typedef enum {
LASSO_PROVIDER_ROLE_ANY = -1,
LASSO_PROVIDER_ROLE_NONE = 0,
- LASSO_PROVIDER_ROLE_IDP = 1,
- LASSO_PROVIDER_ROLE_SP = 2,
+ LASSO_PROVIDER_ROLE_SP = 1,
+ LASSO_PROVIDER_ROLE_IDP = 2,
LASSO_PROVIDER_ROLE_BOTH = 3,
LASSO_PROVIDER_ROLE_AUTHN_AUTHORITY = 4,
LASSO_PROVIDER_ROLE_AUTHZ_AUTHORITY = 8,