- added support for IDicc
- fixed parse error of pace output buffer git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@202 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -1199,6 +1199,16 @@ int EstablishPACEChannel(const struct sm_ctx *oldpacectx, sc_card_t *card,
|
||||
goto err;
|
||||
}
|
||||
|
||||
/* get enough memory for IDicc */
|
||||
p = realloc(*out, (*outlen) + 2);
|
||||
if (!p) {
|
||||
r = SC_ERROR_OUT_OF_MEMORY;
|
||||
goto err;
|
||||
}
|
||||
*out = p;
|
||||
memset((*out) + (*outlen), 0, 2);
|
||||
*outlen += 2;
|
||||
|
||||
/* XXX parse CHAT to check role of terminal */
|
||||
|
||||
sctx->authentication_ctx = pace_sm_ctx_create(k_mac,
|
||||
|
||||
Reference in New Issue
Block a user