From fc9c2738c680370edba577689e341a0e7c87a182 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 25 Aug 2010 15:41:55 +0200 Subject: [PATCH] [SAMLv2] when AuthnRequest contains invalid attributes returns INVALID_REQUEST not NO_DEFAULT_ENDPOINT This is the right status to return. --- lasso/saml-2.0/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c index 7b6cf3c7..e0582559 100644 --- a/lasso/saml-2.0/login.c +++ b/lasso/saml-2.0/login.c @@ -310,7 +310,7 @@ lasso_saml20_login_process_authn_request_msg(LassoLogin *login, const char *auth (authn_request->AssertionConsumerServiceURL != NULL)) && (authn_request->AssertionConsumerServiceIndex != -1)) { - rc = LASSO_LOGIN_ERROR_NO_DEFAULT_ENDPOINT; + rc = LASSO_PROFILE_ERROR_INVALID_REQUEST; goto cleanup; }