#endif
const Conditions* conds = assertion.getConditions();
+ if (!conds)
+ return;
+
// First verify the time conditions, using the specified timestamp, if non-zero.
- if (m_ts>0 && conds) {
+ if (m_ts>0) {
unsigned int skew = XMLToolingConfig::getConfig().clock_skew_secs;
time_t t=conds->getNotBeforeEpoch();
if (m_ts+skew < t)
}
// Now we process conditions, starting with the known types and then extensions.
-
const vector<AudienceRestriction*>& acvec = conds->getAudienceRestrictions();
for (vector<AudienceRestriction*>::const_iterator ac = acvec.begin(); ac!=acvec.end(); ++ac)
validateCondition(*ac);