diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-27 15:41:53 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-27 16:17:07 +0200 |
commit | 6cc9ae7e32228322ca3ae2d15fa23c350f9ffdca (patch) | |
tree | 6e3d49c61f2ff606b856b706bcd8b5c230d22d60 /lasso | |
parent | 5bcbb0e55fab8b8f4562a7c90ab60a8baa9ef6fd (diff) | |
download | lasso-6cc9ae7e32228322ca3ae2d15fa23c350f9ffdca.tar.gz lasso-6cc9ae7e32228322ca3ae2d15fa23c350f9ffdca.tar.xz lasso-6cc9ae7e32228322ca3ae2d15fa23c350f9ffdca.zip |
[SAMLv2] fix wrong order in use of macro lasso_foreach
The first argument must be the iterator, the second is the iterable.
Also add a non-regression test with Googleapps metadata and and a
typical authn request.
Diffstat (limited to 'lasso')
-rw-r--r-- | lasso/saml-2.0/provider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/saml-2.0/provider.c b/lasso/saml-2.0/provider.c index 064fe24e..cd1acfe0 100644 --- a/lasso/saml-2.0/provider.c +++ b/lasso/saml-2.0/provider.c @@ -550,7 +550,7 @@ lasso_saml20_provider_check_assertion_consumer_service_url(LassoProvider *provid { GList *t = NULL; - lasso_foreach (provider->private_data->endpoints, t) { + lasso_foreach (t, provider->private_data->endpoints) { EndpointType *endpoint_type = (EndpointType*) t->data; if (endpoint_type && endpoint_type->role == LASSO_PROVIDER_ROLE_SP && g_strcmp0(endpoint_type->url, url) == 0 |