diff options
| author | Simo Sorce <simo@redhat.com> | 2014-06-09 14:00:34 -0400 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2014-06-09 15:08:35 -0400 |
| commit | 7d3fb462dc388e4e5d32fb0cf853a946314df87f (patch) | |
| tree | de7307626de207a23a2726b2396b7eeb157e73e6 | |
| parent | ed94ee95b56c0b85edc71907fb98868331c7411d (diff) | |
| download | lasso-7d3fb462dc388e4e5d32fb0cf853a946314df87f.tar.gz lasso-7d3fb462dc388e4e5d32fb0cf853a946314df87f.tar.xz lasso-7d3fb462dc388e4e5d32fb0cf853a946314df87f.zip | |
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>
| -rw-r--r-- | lasso/saml-2.0/login.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
