Skip to content

Commit

Permalink
commented out check for auth_info path to stop failure when initializ…
Browse files Browse the repository at this point in the history
…ing MuscleApplet
  • Loading branch information
joelhockey committed Dec 4, 2011
1 parent d505a55 commit c010dc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libopensc/pkcs15-pin.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,13 @@ int sc_pkcs15_verify_pin(struct sc_pkcs15_card *p15card,
r = sc_lock(card);
SC_TEST_RET(ctx, SC_LOG_DEBUG_NORMAL, r, "sc_lock() failed");
/* the path in the pin object is optional */
/* comment out to work with MuscleApplet
if (auth_info->path.len > 0) {
r = sc_select_file(card, &auth_info->path, NULL);
if (r)
goto out;
}
*/

/* Initialize arguments */
memset(&data, 0, sizeof(data));
Expand Down

0 comments on commit c010dc7

Please sign in to comment.