bug 123296, infinite loop in signtool when incorrect password given at command line

This commit is contained in:
ian.mcgreer%sun.com 2002-03-26 22:23:28 +00:00
parent fbb98b2514
commit 2b65a7f806

View File

@ -460,6 +460,9 @@ char *
pk11_password_hardcode(PK11SlotInfo *slot, PRBool retry, void *arg)
{
char *pw;
if (retry) {
return NULL; /* the password is incorrect, fail */
}
pw = password ? PORT_Strdup (password) : NULL;
/* XXX don't do this, or FIPS won't work */
/*password = NULL;*/