diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-08-04 23:52:22 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-08-17 17:09:19 +0100 |
commit | cc69629626ce0dab934704e1d9e806e0823c87d0 (patch) | |
tree | 7e4891c119539e6a9886ef686076b0f970ed13d7 /apps/smime.c | |
parent | e7917e38bee4a0dcaa9b9968b6a4e48959dd4a3d (diff) | |
download | openssl-cc69629626ce0dab934704e1d9e806e0823c87d0.tar.gz |
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/smime.c')
-rw-r--r-- | apps/smime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/smime.c b/apps/smime.c index dd065bba51..b98c583fb0 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -120,8 +120,8 @@ int smime_main(int argc, char **argv) X509_VERIFY_PARAM *vpm = NULL; const EVP_CIPHER *cipher = NULL; const EVP_MD *sign_md = NULL; - char *CAfile = NULL, *CApath = NULL, *inrand = NULL; - char *certfile = NULL, *keyfile = NULL, *contfile = NULL, *prog; + const char *CAfile = NULL, *CApath = NULL, *prog = NULL; + char *certfile = NULL, *keyfile = NULL, *contfile = NULL, *inrand = NULL; char *infile = NULL, *outfile = NULL, *signerfile = NULL, *recipfile = NULL; char *passinarg = NULL, *passin = NULL, *to = NULL, *from = |