mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Fix comments for NSS PBKDF setup (no code change)
This commit is contained in:
parent
3d75257e8d
commit
47e85541f1
1 changed files with 17 additions and 0 deletions
|
|
@ -2802,6 +2802,23 @@ XREMain::XRE_mainInit(bool* aExitFlag)
|
|||
|
||||
SetupErrorHandling(gArgv[0]);
|
||||
|
||||
#if 0
|
||||
|
||||
// Set up environment for NSS DBM database
|
||||
|
||||
// Allow iteration counts in DBM mode
|
||||
SaveToEnv("NSS_ALLOW_LEGACY_DBM_ITERATION_COUNT=1");
|
||||
// Set default Master Password rounds to a sane value for DBM which is slower
|
||||
// than SQL for PBKDF. The NSS hard-coded default of 10,000 is too much.
|
||||
// See also Bug 1606992 for perf issues.
|
||||
#ifdef DEBUG
|
||||
SaveToEnv("NSS_MAX_MP_PBE_ITERATION_COUNT=15");
|
||||
#else
|
||||
SaveToEnv("NSS_MAX_MP_PBE_ITERATION_COUNT=500");
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef CAIRO_HAS_DWRITE_FONT
|
||||
{
|
||||
// Bug 602792 - when DWriteCreateFactory is called the dwrite client dll
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue