added missing return buffer for select of CardSecurity

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@56 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-04-10 15:12:37 +00:00
parent cbc4dda0ed
commit 6d0cc5e908
2 changed files with 6 additions and 0 deletions

View File

@@ -234,6 +234,10 @@ int sm_encrypt(const struct sm_ctx *ctx, sc_card_t *card,
sc_copy_asn1_entry(c_sm_capdu, sm_capdu);
sm_apdu->sensitive = 0;
sm_apdu->resp = apdu->resp;
sm_apdu->resplen = apdu->resplen;
sm_apdu->control = apdu->control;
sm_apdu->flags = apdu->flags;
sm_apdu->cla = 0x0C;
sm_apdu->ins = apdu->ins;