- fixed compiling errors

- adjusted secure messaging to support extended length apdus
- card has to support extended length, this is hardcoded at the moment, but should better be done in the appropriate card driver


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@274 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-09-23 12:56:34 +00:00
parent 6bfdafde8a
commit f6d92dfece
4 changed files with 13 additions and 9 deletions

View File

@@ -1125,7 +1125,7 @@ perform_PC_to_RDR_Secure(const __u8 *in, size_t inlen, __u8** out, size_t *outle
sc_result = build_apdu(ctx, abPINApdu, apdulen, &apdu);
if (sc_result < 0) {
bin_log(ctx, "Invalid APDU", abDataIn, request->dwLength);
bin_log(ctx, "Invalid APDU", abPINApdu, apdulen);
goto err;
}
apdu.sensitive = 1;