mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
4b4f5adfbc
CERT_AddTempCertToPerm and CERT_ImportCerts (when called with keepCerts=true) internally use PK11_GetInternalKeySlot. The current plan for making NSS always available involves initializing it in memory-only mode and later opening the user's certificate and key databases. Doing so means that PK11_GetInternalKeySlot will not return the right token, so we can't rely on functions that make use of it internally. For now we'll simply use equivalent functions that take an explicit PK11SlotInfo argument and pass in the current internal token. A later patch will change all places where PSM and Gecko use the internal token to use the correct token. MozReview-Commit-ID: CpSo5dIkyVW --HG-- extra : rebase_source : 4f6e1707b34cb8dcf5e89cf3620c2d76fea39c82 |
||
---|---|---|
.. | ||
apps | ||
certverifier | ||
manager | ||
nss | ||
patches | ||
pkix | ||
sandbox | ||
generate_certdata.py | ||
generate_mapfile.py | ||
moz.build | ||
nss.symbols |