openpace is now a hard dependancy for pace-tool. ccid does not yet depend on pace, since the USB interface to pace is not yet defined.

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@90 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-05-04 20:16:06 +00:00
parent 170ec3c703
commit 193e93ef5f
3 changed files with 18 additions and 69 deletions

View File

@@ -20,6 +20,7 @@
#include "pace.h"
#include <stdlib.h>
#include <string.h>
#include <openssl/pace.h>
static int verbose = 0;
static int doinfo = 0;
@@ -121,23 +122,19 @@ main (int argc, char **argv)
doinfo++;
break;
case OPT_PUK:
/* PACE_PIN from openssl/pace.h */
pin_id = 4;
pin_id = PACE_PUK;
pin = optarg;
break;
case OPT_PIN:
/* PACE_PIN from openssl/pace.h */
pin_id = 3;
pin_id = PACE_PIN;
pin = optarg;
break;
case OPT_CAN:
/* PACE_PIN from openssl/pace.h */
pin_id = 2;
pin_id = PACE_CAN;
pin = optarg;
break;
case OPT_MRZ:
/* PACE_MRZ from openssl/pace.h */
pin_id = 1;
pin_id = PACE_MRZ;
pin = optarg;
break;
case OPT_CHANGE_PIN: