Backed out changeset b885a82dc02a (bug 1078108) for breaking B2g ICS Builds

This commit is contained in:
Carsten "Tomcat" Book 2014-10-10 09:01:45 +02:00
parent 2830f7d7ed
commit 17a5703e4c
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ GetOCSPResponseForType(OCSPResponseType aORT, CERTCertificate *aCert,
if (aORT == ORTExpired || aORT == ORTExpiredFreshCA ||
aORT == ORTRevokedOld || aORT == ORTUnknownOld) {
context.thisUpdate = oldNow;
context.nextUpdate = oldNow + Time::ONE_DAY_IN_SECONDS;
context.nextUpdate = oldNow + 10;
}
if (aORT == ORTLongValidityAlmostExpired) {
context.thisUpdate = now - (320 * Time::ONE_DAY_IN_SECONDS);

View File

@ -143,7 +143,7 @@ OCSPResponseContext::OCSPResponseContext(const CertID& certID, time_t time)
, certStatus(good)
, revocationTime(0)
, thisUpdate(time)
, nextUpdate(time + Time::ONE_DAY_IN_SECONDS)
, nextUpdate(time + 10)
, includeNextUpdate(true)
{
}