- 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user