summaryrefslogtreecommitdiffstats
path: root/apps/cms.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-08-04 23:52:22 +0200
committerMatt Caswell <matt@openssl.org>2016-08-17 17:09:19 +0100
commitcc69629626ce0dab934704e1d9e806e0823c87d0 (patch)
tree7e4891c119539e6a9886ef686076b0f970ed13d7 /apps/cms.c
parente7917e38bee4a0dcaa9b9968b6a4e48959dd4a3d (diff)
Constify char* input parameters in apps code
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/cms.c')
-rw-r--r--apps/cms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/cms.c b/apps/cms.c
index b5ae97090f..52186d2c03 100644
--- a/apps/cms.c
+++ b/apps/cms.c
@@ -199,7 +199,8 @@ int cms_main(int argc, char **argv)
X509_STORE *store = NULL;
X509_VERIFY_PARAM *vpm = NULL;
char *certfile = NULL, *keyfile = NULL, *contfile = NULL;
- char *CAfile = NULL, *CApath = NULL, *certsoutfile = NULL;
+ const char *CAfile = NULL, *CApath = NULL;
+ char *certsoutfile = NULL;
int noCAfile = 0, noCApath = 0;
char *infile = NULL, *outfile = NULL, *rctfile = NULL, *inrand = NULL;
char *passinarg = NULL, *passin = NULL, *signerfile = NULL, *recipfile =