A little patch is attached. This one adds two lines to card-akis.c (mark supported padding and a comment), and fixes some typos in two other files.
Please apply before the release.
Index: src/libopensc/card-akis.c =================================================================== --- src/libopensc/card-akis.c (revision 3256) +++ src/libopensc/card-akis.c (working copy) @@ -62,7 +62,7 @@ card->name = "AKIS"; card->cla = 0x00; - flags = SC_ALGORITHM_RSA_RAW; + flags = SC_ALGORITHM_RSA_RAW | SC_ALGORITHM_RSA_PAD_PKCS1; _sc_card_add_rsa_alg(card, 2048, flags, 0); return 0; @@ -495,7 +495,7 @@ // append_record: Untested // update_record: Untested akis_ops.select_file = akis_select_file; - // get_response: Untested + // get_response: ISO7816 implementation works // get_challenge: ISO7816 implementation works // restore_security_env: Untested akis_ops.set_security_env = akis_set_security_env; Index: src/libopensc/types.h =================================================================== --- src/libopensc/types.h (revision 3256) +++ src/libopensc/types.h (working copy) @@ -37,7 +37,7 @@ #define SC_PATH_TYPE_DF_NAME 1 #define SC_PATH_TYPE_PATH 2 #define SC_PATH_TYPE_PATH_PROT 3 /* path of a file containing - EnveleopedData objects */ + EnvelopedData objects */ #define SC_PATH_TYPE_FROM_CURRENT 4 #define SC_PATH_TYPE_PARENT 5 Index: src/libopensc/apdu.c =================================================================== --- src/libopensc/apdu.c (revision 3256) +++ src/libopensc/apdu.c (working copy) @@ -332,7 +332,7 @@ error: sc_error(card->ctx, "Invalid Case %d %s APDU:\n" "cse=%02x cla=%02x ins=%02x p1=%02x p2=%02x lc=%lu le=%lu\n" - "resp=%p resplen=%lu data=%p datelen=%lu", + "resp=%p resplen=%lu data=%p datalen=%lu", apdu->cse & SC_APDU_SHORT_MASK, (apdu->cse & SC_APDU_EXT) != 0 ? "extended" : "short", apdu->cse, apdu->cla, apdu->ins, apdu->p1, apdu->p2,
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel