Bug 1078108: Use a longer OCSP response validity period in tests, r=keeler

--HG--
extra : rebase_source : 3115275b2b1c5337cbea0fd43a2221fcd54dadc1
extra : source : bb5694e268255b6549ccaaaddca74fbb83d4bda1
This commit is contained in:
Brian Smith 2014-10-05 17:18:11 -07:00
parent a71ba16d2a
commit 2079cba797
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 + 10;
context.nextUpdate = oldNow + Time::ONE_DAY_IN_SECONDS;
}
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 + 10)
, nextUpdate(time + Time::ONE_DAY_IN_SECONDS)
, includeNextUpdate(true)
{
}