diff options
| author | Damien Laniel <dlaniel@entrouvert.com> | 2007-05-09 17:11:13 +0000 |
|---|---|---|
| committer | Damien Laniel <dlaniel@entrouvert.com> | 2007-05-09 17:11:13 +0000 |
| commit | ac7aceee479160aebb16af8915ab409b2f503452 (patch) | |
| tree | e33fe94d7d2641246493506c87ad0dfc5dc729b6 | |
| parent | 7f11dc341a6714a9fc5148ab9018b6797bc37b71 (diff) | |
| download | lasso-ac7aceee479160aebb16af8915ab409b2f503452.tar.gz lasso-ac7aceee479160aebb16af8915ab409b2f503452.tar.xz lasso-ac7aceee479160aebb16af8915ab409b2f503452.zip | |
fixed usage of an identity without federation
| -rw-r--r-- | lasso/id-ff/identity.c | 3 | ||||
| -rw-r--r-- | lasso/id-wsf-2.0/wsf2_profile.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/lasso/id-ff/identity.c b/lasso/id-ff/identity.c index 705d7b10..659bd6da 100644 --- a/lasso/id-ff/identity.c +++ b/lasso/id-ff/identity.c @@ -510,8 +510,5 @@ lasso_identity_new_from_dump(const gchar *dump) gchar* lasso_identity_dump(LassoIdentity *identity) { - if (g_hash_table_size(identity->federations) == 0) - return g_strdup(""); - return lasso_node_dump(LASSO_NODE(identity)); } diff --git a/lasso/id-wsf-2.0/wsf2_profile.c b/lasso/id-wsf-2.0/wsf2_profile.c index 59cc2d39..bd176b3b 100644 --- a/lasso/id-wsf-2.0/wsf2_profile.c +++ b/lasso/id-wsf-2.0/wsf2_profile.c @@ -97,7 +97,7 @@ lasso_wsf2_profile_build_soap_envelope(const char *refToMessageId, const char *p LassoIdentity* lasso_wsf2_profile_get_identity(LassoWsf2Profile *profile) { - if (profile->identity && g_hash_table_size(profile->identity->federations)) + if (profile->identity) return profile->identity; return NULL; } |
