diff --git a/security/manager/ssl/tests/unit/tlsserver/lib/OCSPCommon.cpp b/security/manager/ssl/tests/unit/tlsserver/lib/OCSPCommon.cpp index 28df599fb64..0c1c8a54c56 100644 --- a/security/manager/ssl/tests/unit/tlsserver/lib/OCSPCommon.cpp +++ b/security/manager/ssl/tests/unit/tlsserver/lib/OCSPCommon.cpp @@ -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); diff --git a/security/pkix/test/lib/pkixtestutil.cpp b/security/pkix/test/lib/pkixtestutil.cpp index 91ce4eb095b..7fd412f5514 100644 --- a/security/pkix/test/lib/pkixtestutil.cpp +++ b/security/pkix/test/lib/pkixtestutil.cpp @@ -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) { }