зеркало из https://github.com/mozilla/gecko-dev.git
fix PSM crash described in bug 120647
This commit is contained in:
Родитель
55145c72f7
Коммит
272b2a393b
|
@ -2159,6 +2159,8 @@ PK11_FindCertByIssuerAndSN(PK11SlotInfo **slotPtr, CERTIssuerAndSN *issuerSN,
|
||||||
NSSCryptoContext *cc;
|
NSSCryptoContext *cc;
|
||||||
SECItem *derSerial;
|
SECItem *derSerial;
|
||||||
|
|
||||||
|
if (slotPtr) *slotPtr = NULL;
|
||||||
|
|
||||||
/* PKCS#11 needs to use DER-encoded serial numbers. Create a
|
/* PKCS#11 needs to use DER-encoded serial numbers. Create a
|
||||||
* CERTIssuerAndSN that actually has the encoded value and pass that
|
* CERTIssuerAndSN that actually has the encoded value and pass that
|
||||||
* to PKCS#11 (and the crypto context).
|
* to PKCS#11 (and the crypto context).
|
||||||
|
|
Загрузка…
Ссылка в новой задаче