The commit applied in svn revision 4853[0] does not allow me to erase my feitian smart card: $ ./pkcs15-init -E Using reader with a card: OmniKey CardMan 3121 00 00 Couldn't bind to the card: Not allowed
The error I get from sc_select_file is -1209 and if set to zero as before I can erase and format the card properly. regards, Nikos [0] The commit: Index: src/pkcs15init/pkcs15-lib.c =================================================================== --- src/pkcs15init/pkcs15-lib.c (revision 4852) +++ src/pkcs15init/pkcs15-lib.c (revision 4853) @@ -3518,8 +3518,6 @@ if ((mem = malloc(len)) != NULL) { r = sc_read_binary(card, 0, mem, len, 0); } - } else { - r = 0; } if (r >= 0) _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel