439
edits
| Line 576: | Line 576: | ||
if (PORT_Strcmp(PK11_GetTokenName(slot), updateTokenName) == 0)) { | if (PORT_Strcmp(PK11_GetTokenName(slot), updateTokenName) == 0)) { | ||
rv = PK11_Authenticate(slot, PR_FALSE, pwArg); | rv = PK11_Authenticate(slot, PR_FALSE, pwArg); | ||
if (rv != SECSuccess) { | |||
handle_failure_to_get_old_DB_Password(); | |||
goto fail; /* or done or fall through depending on recovery scheme */ | goto fail; /* or done or fall through depending * | ||
* on recovery scheme */ | |||
} | |||
} | } | ||
| Line 631: | Line 632: | ||
*/ | */ | ||
rv = PK11_Authenticate(slot, PR_FALSE, pwArg); | rv = PK11_Authenticate(slot, PR_FALSE, pwArg); | ||
if (rv != SECSuccess) { | |||
goto fail; | |||
} | |||
/* just update the state machine */ | /* just update the state machine */ | ||
edits