From fd52e6809498824b48d999da3fa2f221fd1543da Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 17 Dec 2010 17:34:59 +0100 Subject: [PATCH] [samlv2 login] do not setup conditions->notBefore/notOnOrAfter only notOnOrAfter on SubjectConfirmationData --- lasso/saml-2.0/login.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c index 40b6d71c..8e9ada11 100644 --- a/lasso/saml-2.0/login.c +++ b/lasso/saml-2.0/login.c @@ -743,8 +743,6 @@ lasso_saml20_login_build_assertion(LassoLogin *login, assertion->Issuer = LASSO_SAML2_NAME_ID(lasso_saml2_name_id_new_with_string( LASSO_PROVIDER(profile->server)->ProviderID)); assertion->Conditions = LASSO_SAML2_CONDITIONS(lasso_saml2_conditions_new()); - lasso_assign_string(assertion->Conditions->NotOnOrAfter, notOnOrAfter); - lasso_assign_string(assertion->Conditions->NotBefore, notBefore); audience_restriction = LASSO_SAML2_AUDIENCE_RESTRICTION( lasso_saml2_audience_restriction_new()); @@ -759,9 +757,6 @@ lasso_saml20_login_build_assertion(LassoLogin *login, assertion->Subject->SubjectConfirmation->SubjectConfirmationData = LASSO_SAML2_SUBJECT_CONFIRMATION_DATA( lasso_saml2_subject_confirmation_data_new()); - lasso_assign_string( - assertion->Subject->SubjectConfirmation->SubjectConfirmationData->NotBefore, - notBefore); lasso_assign_string( assertion->Subject->SubjectConfirmation->SubjectConfirmationData->NotOnOrAfter, notOnOrAfter);