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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user