summaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-04-05 19:11:19 +0000
committerNils Larsch <nils@openssl.org>2005-04-05 19:11:19 +0000
commit7d727231b735750c0876089204fe46c058e3f675 (patch)
tree298aa8583aa08f1f6d06cf6aac5cb394ba70e108 /apps/x509.c
parent69740c2b3f3bce9791d1a597c558c9829b9e7b69 (diff)
some const fixes
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 9dc99dfa0f..393d0d1f47 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -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;