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