Fix typos in apps/apps.c
[openssl.git] / apps / x509.c
index 9dc99dfa0fa3679ff35e1b468d35c26501109490..393d0d1f47c3235b1b3f9c15e54f716cc3d26f6f 100644 (file)
@@ -83,7 +83,7 @@
 #define        POSTFIX ".srl"
 #define DEF_DAYS       30
 
-static char *x509_usage[]={
+static const char *x509_usage[]={
 "usage: x509 args\n",
 " -inform arg     - input format - default PEM (one of DER, NET or PEM)\n",
 " -outform arg    - output format - default PEM (one of DER, NET or PEM)\n",
@@ -179,7 +179,7 @@ int MAIN(int argc, char **argv)
        int C=0;
        int x509req=0,days=DEF_DAYS,modulus=0,pubkey=0;
        int pprint = 0;
-       char **pp;
+       const char **pp;
        X509_STORE *ctx=NULL;
        X509_REQ *rq=NULL;
        int fingerprint=0;