summaryrefslogtreecommitdiffstats
path: root/apps/ec.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/ec.c
parentFix C++ support: set $target{cxx} correctly (diff)
downloadopenssl-44c83ebd7089825a82545c9cacc4c4e2de81d001.tar.xz
openssl-44c83ebd7089825a82545c9cacc4c4e2de81d001.zip
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/ec.c')
-rw-r--r--apps/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ec.c b/apps/ec.c
index 007bf0a89c..368d226f4e 100644
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -42,7 +42,7 @@ typedef enum OPTION_choice {
OPT_NO_PUBLIC, OPT_CHECK
} OPTION_CHOICE;
-OPTIONS ec_options[] = {
+const OPTIONS ec_options[] = {
{"help", OPT_HELP, '-', "Display this summary"},
{"in", OPT_IN, 's', "Input file"},
{"inform", OPT_INFORM, 'f', "Input format - DER or PEM"},