зеркало из https://github.com/mozilla/gecko-dev.git
Bug 785738 Part 5: restore a PRUint64, fix an OpenBSD build failure. r=ehsan
Root cause is bug 634793 (ie int64_t != PRint64 on OpenBSD..sigh), and since security/nss/lib/certdb/certt.h still uses PRUint64 for cert_rev_flags_per_method we need to assign it a correct type in security/manager/ssl/src/nsIdentityChecking.cpp.
This commit is contained in:
Родитель
ab140edff0
Коммит
e271b67caa
|
@ -1146,7 +1146,10 @@ nsNSSCertificate::hasValidEVOidTag(SECOidTag &resultOidTag, bool &validEV)
|
|||
CERT_REV_MI_TEST_ALL_LOCAL_INFORMATION_FIRST
|
||||
| CERT_REV_MI_REQUIRE_SOME_FRESH_INFO_AVAILABLE;
|
||||
|
||||
uint64_t methodFlags[2];
|
||||
// We need a PRUint64 here instead of a nice int64_t (until bug 634793 is
|
||||
// fixed) to match the type used in security/nss/lib/certdb/certt.h for
|
||||
// cert_rev_flags_per_method.
|
||||
PRUint64 methodFlags[2];
|
||||
methodFlags[cert_revocation_method_crl] = revMethodFlags;
|
||||
methodFlags[cert_revocation_method_ocsp] = revMethodFlags;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче