Am Freitag, 16. März 2007 22:57 schrieb Ville Skyttä:
> On Friday 16 March 2007, Andreas Jellinghaus wrote:
> > http://www.opensc-project.org/files/opensc/testing/
> > http://www.opensc-project.org/files/opensc/testing/opensc-0.11.2-rc1.tar.
> >gz
> >
> > Please test this and give feedback. And help with the documentation.
>
> Built fine here on FC6 x86_64, but I happened to notice that the --serial
> option to piv-tool doesn't work; if specified alone, I get a usage message
> (which includes --serial), and if used together eg. with -n, it seems to be
> a no-op.
please test this patch.
Andreas
Index: piv-tool.c
===================================================================
--- piv-tool.c (revision 3138)
+++ piv-tool.c (working copy)
@@ -380,6 +380,10 @@
if (c == '?')
print_usage_and_die();
switch (c) {
+ case OPT_SERIAL:
+ do_print_serial = 1;
+ action_count++;
+ break;
case 's':
opt_apdus = (char **) realloc(opt_apdus,
(opt_apdu_count + 1) * sizeof(char *));
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel