NSS Shared DB: Difference between revisions

Jump to navigation Jump to search
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) {
            if (rv != SECSuccess) {
handle_failure_to_get_old_DB_Password();
                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) {
        if (rv != SECSuccess) {
    goto fail;
            goto fail;
}
        }
          
          
         /* just update the state machine */
         /* just update the state machine */
439

edits

Navigation menu