Properly exit on error

The rc error was being set but then it was being ignored.
Get out immediately if an Issuer can't be found.

License: MIT
Signed-off-by: Simo Sorce <simo@redhat.com>
This commit is contained in:
Simo Sorce 2014-06-09 14:00:34 -04:00 committed by Benjamin Dauvergne
parent f91f4b4b8f
commit 86bfc84ba1
1 changed files with 1 additions and 0 deletions

View File

@ -1119,6 +1119,7 @@ lasso_saml20_login_check_assertion_signature(LassoLogin *login,
/* Issuer format is not entity */
{
rc = LASSO_PROFILE_ERROR_MISSING_ISSUER;
goto cleanup;
} else {
remote_provider_id = Issuer->content;
}