- 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:
@@ -1161,6 +1161,10 @@ int EstablishPACEChannel(const struct sm_ctx *oldpacectx, sc_card_t *card,
|
||||
sctx->block_length = EVP_CIPHER_block_size(pctx->cipher);
|
||||
sctx->active = 1;
|
||||
|
||||
/* All cards with PACE support extended length
|
||||
* XXX this should better be done by the card driver */
|
||||
card->caps |= SC_CARD_CAP_APDU_EXT;
|
||||
|
||||
err:
|
||||
if (info)
|
||||
PACEInfo_free(info);
|
||||
|
||||
Reference in New Issue
Block a user