зеркало из https://github.com/mozilla/gecko-dev.git
0c092c0ffe
Previously, adding a permanent certificate error override would depend on successfully importing the server's certificate into the user's certificate database. Consequently, if the user's database were in read-only mode (or if the database couldn't be created due to code page issues on Windows), this would prevent adding new certificate error overrides. It turns out this isn't even necessary, because the implementation relies on the stored hash of the certificate rather than the certificate itself. The stored certificate is only for display purposes (and there's a fallback if the certificate can't be stored). There are remaining issues with non-ASCII characters in 8.3 paths on Windows when the code page isn't western, but this is a larger issue that must be addressed in other layers (i.e. NSS/NSPR). MozReview-Commit-ID: KEzjxtAoeb4 --HG-- rename : security/manager/ssl/tests/unit/test_cert_overrides.js => security/manager/ssl/tests/unit/test_cert_overrides_read_only.js extra : rebase_source : b41e863d8c85d80335dd56c8f5765b19b1de4e0c |
||
---|---|---|
.. | ||
apps | ||
certverifier | ||
manager | ||
nss | ||
pkix | ||
sandbox | ||
.eslintrc.js | ||
generate_certdata.py | ||
generate_mapfile.py | ||
moz.build | ||
nss.symbols |