https://bugzilla.novell.com/show_bug.cgi?id=627619 https://bugzilla.novell.com/show_bug.cgi?id=627619#c8 --- Comment #8 from Stanislav Brabec <sbrabec@novell.com> 2010-08-20 16:34:59 CEST --- I just checked card-myeid.c from trunk and it seems that the correct fix should be: --- opensc-0.11.13.orig/src/libopensc/card-myeid.c +++ opensc-0.11.13/src/libopensc/card-myeid.c @@ -394,7 +394,7 @@ static int myeid_create_file(struct sc_c SC_FUNC_RETURN(card->ctx, 1, SC_ERROR_FILE_ALREADY_EXISTS); r = sc_check_sw(card, apdu.sw1, apdu.sw2); - SC_TEST_RET(card->ctx, r, "Card returned error"); + SC_FUNC_RETURN(card->ctx, 1, r); } /* no record oriented file services */ Upstream provided a new driver from the vendor with many changes that include such fix. I have no myeid card to test. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.