From e752d5139684637456651d78ad65496b322c3b60 Mon Sep 17 00:00:00 2001 From: frankmorgner Date: Mon, 12 Apr 2010 07:23:13 +0000 Subject: [PATCH] - reverted changes from last commit git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@64 96b47cad-a561-4643-ad3b-153ac7d7599c --- ccid/sm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccid/sm.c b/ccid/sm.c index 20ad154..c5b1a22 100644 --- a/ccid/sm.c +++ b/ccid/sm.c @@ -278,7 +278,7 @@ static int sm_encrypt(const struct sm_ctx *ctx, sc_card_t *card, sm_apdu->ins = apdu->ins; sm_apdu->p1 = apdu->p1; sm_apdu->p2 = apdu->p2; - r = format_head(ctx, sm_apdu, &mac_data); + r = format_head(ctx, apdu, &mac_data); if (r < 0) { sc_error(card->ctx, "Could not format header of SM apdu"); goto err;