re-introduce old nss im too tired for this

This commit is contained in:
wuggy 2026-06-30 06:37:32 +01:00
commit 3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions

View file

@ -1279,7 +1279,7 @@ input()
/* Reset buffer status. */
yyrestart(yyin);
/* fall through */
/* fall through */
case EOB_ACT_END_OF_FILE: {
if (yywrap())

View file

@ -386,6 +386,7 @@ CreateModifiedCRLCopy(PLArenaPool *arena, CERTCertDBHandle *certHandle,
rv = SECU_ReadDERFromFile(&crlDER, inFile, PR_FALSE, PR_FALSE);
if (rv != SECSuccess) {
SECU_PrintError(progName, "unable to read input file");
PORT_FreeArena(modArena, PR_FALSE);
goto loser;
}
@ -1044,10 +1045,7 @@ main(int argc, char **argv)
PK11_SetPasswordFunc(SECU_GetModulePassword);
if (showFileCRL) {
rv = NSS_NoDB_Init(NULL);
if (rv != SECSuccess) {
goto loser;
}
NSS_NoDB_Init(NULL);
} else {
secstatus = NSS_Initialize(SECU_ConfigDirectory(NULL), dbPrefix, dbPrefix,
"secmod.db", readonly ? NSS_INIT_READONLY : 0);