bugfix: fetching unhandled error in update_iv

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@62 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-04-11 21:06:28 +00:00
parent b3b9ad6aea
commit ab13c8ffb7

View File

@@ -840,6 +840,7 @@ int pace_test(sc_card_t *card)
apdu.le = 0x00;
apdu.cse = SC_APDU_CASE_4_SHORT;
/*increment_ssc(&sctx);*/
sm_transmit_apdu(&sctx, card, &apdu);
return SC_SUCCESS;
@@ -934,7 +935,8 @@ update_iv(struct sm_ctx *ctx)
psmctx->ctx->iv = NULL;
break;
default:
break;
r = SC_ERROR_INVALID_ARGUMENTS;
goto err;
}
r = SC_SUCCESS;