зеркало из https://github.com/mozilla/pjs.git
Fixed the Mac bustage
This commit is contained in:
Родитель
fc5f30ff2a
Коммит
22c5948399
|
@ -205,7 +205,8 @@ static nsVector* getTempCertificates(const unsigned char **certChain,
|
||||||
cert = (CERTCertificate *)certArray->Get(0);
|
cert = (CERTCertificate *)certArray->Get(0);
|
||||||
rv = CERT_VerifyCert(handle, cert, PR_TRUE,
|
rv = CERT_VerifyCert(handle, cert, PR_TRUE,
|
||||||
certUsageObjectSigner,
|
certUsageObjectSigner,
|
||||||
PR_FALSE, NULL, NULL);
|
(int64)PR_FALSE, (void *)NULL,
|
||||||
|
(CERTVerifyLog *)NULL);
|
||||||
if (rv != SECSuccess) {
|
if (rv != SECSuccess) {
|
||||||
// Free the certificates and mark this principal as not trusted.
|
// Free the certificates and mark this principal as not trusted.
|
||||||
destroyCertificates(certArray);
|
destroyCertificates(certArray);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче