mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
a71ba16d2a
commit
2079cba797
@ -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);
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user