Replace NSS with Pale Moon's

This commit is contained in:
wuggy 2026-06-29 21:29:25 +01:00
commit 8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions

View file

@ -295,12 +295,13 @@ main(int argc, char **argv)
outFile = stdout;
}
NSS_NoDB_Init(NULL);
if (NSS_NoDB_Init(NULL) != SECSuccess) {
return 1;
}
if (keySizeInBits > 1024 || qSizeInBits != 0) {
rv = PK11_PQG_ParamGenV2((unsigned)keySizeInBits,
(unsigned)qSizeInBits, (unsigned)(g /
8),
(unsigned)qSizeInBits, (unsigned)(g / 8),
&pqgParams, &pqgVerify);
} else if (g) {
rv = PK11_PQG_ParamGenSeedLen((unsigned)j, (unsigned)(g / 8),
@ -340,6 +341,9 @@ main(int argc, char **argv)
PK11_PQG_DestroyParams(pqgParams);
PK11_PQG_DestroyVerify(pqgVerify);
if (NSS_Shutdown() != SECSuccess) {
return 1;
}
return 0;
loser: