summaryrefslogtreecommitdiffstats
path: root/apps/openssl.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/openssl.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/openssl.c')
-rw-r--r--apps/openssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/openssl.c b/apps/openssl.c
index fceb458542..f6a8f9df55 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -264,7 +264,7 @@ int main(int argc, char *argv[])
EXIT(ret);
}
-OPTIONS exit_options[] = {
+const OPTIONS exit_options[] = {
{NULL}
};
@@ -322,7 +322,7 @@ typedef enum HELPLIST_CHOICE {
OPT_PK_ALGORITHMS, OPT_DISABLED, OPT_MISSING_HELP
} HELPLIST_CHOICE;
-OPTIONS list_options[] = {
+const OPTIONS list_options[] = {
{"help", OPT_HELP, '-', "Display this summary"},
{"commands", OPT_COMMANDS, '-', "List of standard commands"},
{"digest-commands", OPT_DIGEST_COMMANDS, '-',
@@ -397,7 +397,7 @@ typedef enum HELP_CHOICE {
OPT_hERR = -1, OPT_hEOF = 0, OPT_hHELP
} HELP_CHOICE;
-OPTIONS help_options[] = {
+const OPTIONS help_options[] = {
{"help", OPT_hHELP, '-', "Display this summary"},
{NULL}
};