summaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-03-13 14:07:50 +0100
committerFdaSilvaYY <fdasilvayy@gmail.com>2016-10-14 18:25:50 +0200
commit44c83ebd7089825a82545c9cacc4c4e2de81d001 (patch)
treeeae27fae044aedfa92aa31b114836f3b197de850 /apps/x509.c
parent83bd048e9dbe5f376b2feaa7f0a6db6d98ef3a47 (diff)
Constify command options
Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1694)
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 3539602e1e..78f2c027a3 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -59,7 +59,7 @@ typedef enum OPTION_choice {
OPT_BADSIG, OPT_MD, OPT_ENGINE, OPT_NOCERT
} OPTION_CHOICE;
-OPTIONS x509_options[] = {
+const OPTIONS x509_options[] = {
{"help", OPT_HELP, '-', "Display this summary"},
{"inform", OPT_INFORM, 'f',
"Input format - default PEM (one of DER, NET or PEM)"},