зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 221743 - incorrect certificate usage macro
This commit is contained in:
Родитель
4138767d73
Коммит
f2e03876cf
|
@ -1256,7 +1256,7 @@ CERT_VerifyCertificate(CERTCertDBHandle *handle, CERTCertificate *cert,
|
|||
#endif
|
||||
|
||||
/* make sure that the cert is valid at time t */
|
||||
allowOverride = (PRBool)((requiredUsages & certUsageSSLServer) ||
|
||||
allowOverride = (PRBool)((requiredUsages & certificateUsageSSLServer) ||
|
||||
(requiredUsages & certificateUsageSSLServerWithStepUp));
|
||||
validity = CERT_CheckCertValidTimes(cert, t, allowOverride);
|
||||
if ( validity != secCertTimeValid ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче