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
This commit is contained in:
parent
85b97670c1
commit
18375948d5
@ -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