summaryrefslogtreecommitdiffstats
path: root/tests/login_tests_saml2.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-04-30 09:23:01 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-04-30 09:23:01 (GMT)
commita041a2ef8165d109bad8e03dc15a97b205f1edf5 (patch)
treec1138de8f08d7a411ddfef90717c7013a6541c9f /tests/login_tests_saml2.c
parent9cc0ff6d43e8c32ea32f80755221eaf8ae4eb370 (diff)
downloadlasso-a041a2ef8165d109bad8e03dc15a97b205f1edf5.zip
lasso-a041a2ef8165d109bad8e03dc15a97b205f1edf5.tar.gz
lasso-a041a2ef8165d109bad8e03dc15a97b205f1edf5.tar.bz2
Initialize all uninitialized rc variables
Diffstat (limited to 'tests/login_tests_saml2.c')
-rw-r--r--tests/login_tests_saml2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/login_tests_saml2.c b/tests/login_tests_saml2.c
index 2f6d59a..78913ad 100644
--- a/tests/login_tests_saml2.c
+++ b/tests/login_tests_saml2.c
@@ -141,7 +141,7 @@ START_TEST(test02_saml2_serviceProviderLogin)
LassoLogin *spLoginContext = NULL, *idpLoginContext = NULL;
LassoLogout *spLogoutContext = NULL, *idpLogoutContext = NULL;
LassoSamlp2AuthnRequest *request = NULL;
- int rc;
+ int rc = 0;
char *relayState = NULL;
char *authnRequestUrl = NULL, *authnRequestQuery = NULL;
char *logoutRequestUrl = NULL, *logoutRequestQuery = NULL;
@@ -352,7 +352,7 @@ START_TEST(test03_saml2_serviceProviderLogin)
char *spIdentityContextDump = NULL;
char *spSessionDump = NULL;
char *idpLoginDump = NULL;
- int rc;
+ int rc = 0;
serviceProviderContextDump = generateServiceProviderContextDump();
spContext = lasso_server_new_from_dump(serviceProviderContextDump);