mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 918120: reduce soft fail ocsp timeouts to 3 secs. r=bsmith.
This commit is contained in:
parent
610685c38b
commit
099c910276
@ -934,6 +934,12 @@ void nsNSSComponent::setValidationOptions()
|
||||
ocspMode_FailureIsVerificationFailure
|
||||
: ocspMode_FailureIsNotAVerificationFailure);
|
||||
|
||||
int OCSPTimeoutSeconds = 3;
|
||||
if (ocspRequired || anyFreshRequired) {
|
||||
OCSPTimeoutSeconds = 10;
|
||||
}
|
||||
CERT_SetOCSPTimeout(OCSPTimeoutSeconds);
|
||||
|
||||
mDefaultCertVerifier = new CertVerifier(
|
||||
aiaDownloadEnabled ?
|
||||
CertVerifier::missing_cert_download_on : CertVerifier::missing_cert_download_off,
|
||||
|
Loading…
Reference in New Issue
Block a user