mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 00:17:32 +09:00
Replace NSS with Pale Moon's
This commit is contained in:
parent
ff1e5e48bf
commit
8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue