From 367dff3d45fd14df5fc72cc93079c1270da55324 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Fri, 9 Jan 2015 03:16:33 +0000 Subject: [PATCH] https://issues.shibboleth.net/jira/browse/CPPOST-90 --- saml/saml2/core/impl/Assertions20SchemaValidators.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/saml/saml2/core/impl/Assertions20SchemaValidators.cpp b/saml/saml2/core/impl/Assertions20SchemaValidators.cpp index 306232c..9048bfb 100644 --- a/saml/saml2/core/impl/Assertions20SchemaValidators.cpp +++ b/saml/saml2/core/impl/Assertions20SchemaValidators.cpp @@ -94,10 +94,7 @@ namespace opensaml { END_XMLOBJECTVALIDATOR; BEGIN_XMLOBJECTVALIDATOR(SAML_DLLLOCAL,Conditions); - if (!ptr->hasChildren()) { - XMLOBJECTVALIDATOR_ONEOF(Conditions,NotBefore,NotOnOrAfter); - } - else if (ptr->getOneTimeUses().size() > 1) { + if (ptr->getOneTimeUses().size() > 1) { throw ValidationException("Multiple OneTimeUse condition elements are not permitted."); } else if (ptr->getProxyRestrictions().size() > 1) { -- 2.1.4