summaryrefslogtreecommitdiffstats
path: root/apps/dsa.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/dsa.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/dsa.c')
-rw-r--r--apps/dsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dsa.c b/apps/dsa.c
index 6aef5026e3..f608d7d276 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -34,7 +34,7 @@ typedef enum OPTION_choice {
OPT_PUBOUT, OPT_CIPHER, OPT_PASSIN, OPT_PASSOUT
} OPTION_CHOICE;
-OPTIONS dsa_options[] = {
+const OPTIONS dsa_options[] = {
{"help", OPT_HELP, '-', "Display this summary"},
{"inform", OPT_INFORM, 'f', "Input format, DER PEM PVK"},
{"outform", OPT_OUTFORM, 'F', "Output format, DER PEM PVK"},