- added support for verifying terminal's signature including auxiliary data (experimental, currently disabled)

- debugging openssl where possible/needed
- using openssl instead of opensc for asn1


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@556 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2011-10-17 11:28:47 +00:00
parent 1fc1aa6ca1
commit 290fe90f3c
2 changed files with 181 additions and 99 deletions

View File

@@ -539,7 +539,7 @@ main (int argc, char **argv)
if (i < 0)
goto err;
printf("Established PACE channel with %s.\n",
npa_secret_name(pace_input.pin_id));
npa_secret_name(pace_input.pin_id), file);
if (dotranslate) {
FILE *input;
@@ -547,8 +547,10 @@ main (int argc, char **argv)
input = stdin;
else {
input = fopen(file, "r");
if (!input)
if (!input) {
perror("Opening file with APDUs");
goto err;
}
}
i = npa_translate_apdus(&sctx, card, input);