cleaned up command line options of pace-tool and made it independant from ccid

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@89 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-05-04 20:03:54 +00:00
parent fcfbca19d7
commit 170ec3c703
8 changed files with 240 additions and 231 deletions

View File

@@ -18,7 +18,7 @@
*/
#include "pace.h"
#include "sm.h"
#include "ccid.h"
#include "util.h"
#include <stdio.h>
#include <opensc/log.h>
#include <openssl/evp.h>
@@ -953,7 +953,7 @@ int pace_test(sc_card_t *card,
sc_error(card->ctx, "Could not format binary string");
}
r = build_apdu(buf, apdulen, &apdu);
r = build_apdu(card->ctx, buf, apdulen, &apdu);
if (r < 0) {
sc_error(card->ctx, "Could not format APDU");
continue;