From 86bfc84ba1a424cd62cf2f59011a56aa632496c8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 9 Jun 2014 14:00:34 -0400 Subject: [PATCH] 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 --- lasso/saml-2.0/login.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c index 0e514b45..e3d0ff72 100644 --- a/lasso/saml-2.0/login.c +++ b/lasso/saml-2.0/login.c @@ -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; }