Hello, the commit d123a2f48066b removed the code inside #define SHM but there's still -M option left in the help message and the optstring. The attached patch removes this option from pkcsconf.c code.
Petr -- Petr Lautrbach Security Technologies Red Hat Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com.
From aa7706c154d492323b39c2def82519846f25c2db Mon Sep 17 00:00:00 2001 From: Petr Lautrbach <[email protected]> Date: Thu, 27 Mar 2014 14:16:14 +0100 Subject: [PATCH] pkcsconf: remove 'M' from the optstring and the help message Signed-off-by: Petr Lautrbach <[email protected]> --- usr/sbin/pkcsconf/pkcsconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/sbin/pkcsconf/pkcsconf.c b/usr/sbin/pkcsconf/pkcsconf.c index ea98a93..df5e736 100755 --- a/usr/sbin/pkcsconf/pkcsconf.c +++ b/usr/sbin/pkcsconf/pkcsconf.c @@ -364,7 +364,7 @@ main(int argc, char *argv[]){ errflag = 0; // Error Flag /* Parse the command line parameters */ - while ((c = getopt (argc, argv, "itsmMIc:S:U:upPn:lh")) != (-1)){ + while ((c = getopt (argc, argv, "itsmIc:S:U:upPn:lh")) != (-1)){ switch (c){ case 'c': /* a specific card (slot) is specified */ if (flags & CFG_SLOT) { @@ -1345,7 +1345,7 @@ void usage(char *progname){ /* If we get here the user needs help, so give it to them */ - printf("usage:\t%s [-itsmMIupPh] [-c slotnumber -U userPIN -S SOPin -n newpin]\n", progname); + printf("usage:\t%s [-itsmIupPh] [-c slotnumber -U userPIN -S SOPin -n newpin]\n", progname); printf("\t-i display PKCS11 info\n"); printf("\t-t display token info\n"); printf("\t-s display slot info\n"); -- 1.8.3.1
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ Opencryptoki-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech
