- pace-tool: fixed length of input buffer for EstablishPACEChannel
- added debug messages to pace.c git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@157 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -156,7 +156,7 @@ int pace_get_channel(struct sm_ctx *oldpacectx, sc_card_t *card,
|
||||
desc, desclen);
|
||||
|
||||
return EstablishPACEChannel(oldpacectx, card, buf,
|
||||
1+pinlen+1+chatlen+2+desclen, out, outlen, sctx);
|
||||
1+1+chatlen+1+pinlen+sizeof(word)+desclen, out, outlen, sctx);
|
||||
}
|
||||
|
||||
int pace_translate_apdus(struct sm_ctx *sctx, sc_card_t *card)
|
||||
|
||||
Reference in New Issue
Block a user