diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-09-22 14:37:11 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-09-22 14:37:11 +0000 |
commit | a952e642e05288e24760e0106a2022d4fd941750 (patch) | |
tree | 379e90c49fd1d81378ab68edd765ef822068408b /lasso/Attic/protocols/elements | |
parent | 4eedccfa77742a38e5a5c00df58a4b2368b83634 (diff) | |
download | lasso-a952e642e05288e24760e0106a2022d4fd941750.tar.gz lasso-a952e642e05288e24760e0106a2022d4fd941750.tar.xz lasso-a952e642e05288e24760e0106a2022d4fd941750.zip |
forgotten commit; /insert const keyword explanation here/
Diffstat (limited to 'lasso/Attic/protocols/elements')
-rw-r--r-- | lasso/Attic/protocols/elements/assertion.c | 6 | ||||
-rw-r--r-- | lasso/Attic/protocols/elements/authentication_statement.c | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lasso/Attic/protocols/elements/assertion.c b/lasso/Attic/protocols/elements/assertion.c index 027559af..b158e97c 100644 --- a/lasso/Attic/protocols/elements/assertion.c +++ b/lasso/Attic/protocols/elements/assertion.c @@ -80,16 +80,14 @@ lasso_assertion_new(const xmlChar *issuer, NULL)); id = lasso_build_unique_id(32); - lasso_saml_assertion_set_assertionID(LASSO_SAML_ASSERTION(assertion), - (const xmlChar *)id); + lasso_saml_assertion_set_assertionID(LASSO_SAML_ASSERTION(assertion), id); xmlFree(id); lasso_saml_assertion_set_majorVersion(LASSO_SAML_ASSERTION(assertion), lassoLibMajorVersion); lasso_saml_assertion_set_minorVersion(LASSO_SAML_ASSERTION(assertion), lassoLibMinorVersion); time = lasso_get_current_time(); - lasso_saml_assertion_set_issueInstant(LASSO_SAML_ASSERTION(assertion), - (const xmlChar *)time); + lasso_saml_assertion_set_issueInstant(LASSO_SAML_ASSERTION(assertion), time); xmlFree(time); lasso_saml_assertion_set_issuer(LASSO_SAML_ASSERTION(assertion), issuer); diff --git a/lasso/Attic/protocols/elements/authentication_statement.c b/lasso/Attic/protocols/elements/authentication_statement.c index 22b814d7..b4064ce5 100644 --- a/lasso/Attic/protocols/elements/authentication_statement.c +++ b/lasso/Attic/protocols/elements/authentication_statement.c @@ -88,7 +88,7 @@ lasso_authentication_statement_new(const xmlChar *authenticationMethod authenticationMethod); time = lasso_get_current_time(); lasso_saml_authentication_statement_set_authenticationInstant(LASSO_SAML_AUTHENTICATION_STATEMENT(statement), - (const xmlChar *)time); + time); xmlFree(time); lasso_lib_authentication_statement_set_reauthenticateOnOrAfter(LASSO_LIB_AUTHENTICATION_STATEMENT(statement), reauthenticateOnOrAfter); |