summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lasso/xml/lib_authentication_statement.c2
-rw-r--r--lasso/xml/saml-2.0/samlp2_name_id_policy.c2
-rw-r--r--lasso/xml/saml_name_identifier.c10
3 files changed, 2 insertions, 12 deletions
diff --git a/lasso/xml/lib_authentication_statement.c b/lasso/xml/lib_authentication_statement.c
index 5c062cba..5ab4d34c 100644
--- a/lasso/xml/lib_authentication_statement.c
+++ b/lasso/xml/lib_authentication_statement.c
@@ -72,7 +72,7 @@ instance_init(LassoLibAuthenticationStatement *node)
{
node->AuthnContext = NULL;
node->ReauthenticateOnOrAfter = NULL;
- node->SessionIndex = g_strdup("1"); /* FIXME: proper SessionIndex usage */
+ node->SessionIndex = NULL;
}
static void
diff --git a/lasso/xml/saml-2.0/samlp2_name_id_policy.c b/lasso/xml/saml-2.0/samlp2_name_id_policy.c
index 9cfe1eab..c8e366ce 100644
--- a/lasso/xml/saml-2.0/samlp2_name_id_policy.c
+++ b/lasso/xml/saml-2.0/samlp2_name_id_policy.c
@@ -66,8 +66,6 @@ static LassoNodeClass *parent_class = NULL;
static void
instance_init(LassoSamlp2NameIDPolicy *node)
{
- node->Format = NULL;
- node->SPNameQualifier = NULL;
node->AllowCreate = FALSE;
}
diff --git a/lasso/xml/saml_name_identifier.c b/lasso/xml/saml_name_identifier.c
index ad0cc6e1..00f5d00a 100644
--- a/lasso/xml/saml_name_identifier.c
+++ b/lasso/xml/saml_name_identifier.c
@@ -63,14 +63,6 @@ static struct XmlSnippet schema_snippets[] = {
/*****************************************************************************/
static void
-instance_init(LassoSamlNameIdentifier *node)
-{
- node->NameQualifier = NULL;
- node->Format = NULL;
- node->content = NULL;
-}
-
-static void
class_init(LassoSamlNameIdentifierClass *klass)
{
LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
@@ -96,7 +88,7 @@ lasso_saml_name_identifier_get_type()
NULL,
sizeof(LassoSamlNameIdentifier),
0,
- (GInstanceInitFunc) instance_init,
+ NULL,
NULL
};