gecko-dev/security
David Keeler 4b4f5adfbc bug 1329360 - avoid some NSS functions that internally use PK11_GetInternalKeySlot r=Cykesiopka
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
2017-01-06 16:29:12 -08:00
..
apps Bug 1313715 - Avoid unnecessary uses of PR_SetError() under security/apps/ and security/certverifier/. r=keeler 2016-12-14 20:10:25 +08:00
certverifier Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
manager bug 1329360 - avoid some NSS functions that internally use PK11_GetInternalKeySlot r=Cykesiopka 2017-01-06 16:29:12 -08:00
nss Bug 1317947 - land NSS 0x6353ce63e18f, r=me 2016-12-23 06:00:57 +01:00
patches
pkix Bug 1318030 - Possible uninitialised value uses relating to security/pkix/test/gtest/pkixcert_extension_tests.cpp. r=dkeeler@mozilla.com. 2016-11-21 08:49:36 +01:00
sandbox Bug 1330496 - Part 1: Remove MOZ_WIN_INHERIT_STD_HANDLES_PRE_VISTA support for inheriting stdout/stderr handles on XP. r=bobowen 2017-01-10 23:50:16 -08:00
generate_certdata.py bug 1295937 - build NSS using gyp files. r=glandium 2016-11-09 12:37:09 -05:00
generate_mapfile.py Bug 1320690 - Re-enable bundled NSS on BSDs. r=ted 2016-11-28 14:33:36 +00:00
moz.build Bug 1321379 - set cc_is_clang for CLANG_CL also; r=ted.mielczarek 2016-11-30 15:28:06 -05:00
nss.symbols bug 1329360 - avoid some NSS functions that internally use PK11_GetInternalKeySlot r=Cykesiopka 2017-01-06 16:29:12 -08:00