Get rid of some unnecessary casts and add a necessary one.
[oweals/openssl.git] / apps / x509.c
index 5434b53365ea391d6dac173cde607bc1ef69757a..cc4824786259a559cc57c4f257481cf2086f2e42 100644 (file)
@@ -114,7 +114,7 @@ static char *x509_usage[]={
 " -text           - print the certificate in text form\n",
 " -C              - print out C code forms\n",
 " -md2/-md5/-sha1/-mdc2 - digest to do an RSA sign with\n",
-" -config         - configuration file with X509V3 extensions to add\n",
+" -extfile        - configuration file with X509V3 extensions to add\n",
 NULL
 };
 
@@ -213,7 +213,7 @@ int MAIN(int argc, char **argv)
                                goto bad;
                                }
                        }
-               else if (strcmp(*argv,"-config") == 0)
+               else if (strcmp(*argv,"-extfile") == 0)
                        {
                        if (--argc < 1) goto bad;
                        extfile= *(++argv);