diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-03-13 14:07:50 +0100 |
---|---|---|
committer | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-10-14 18:25:50 +0200 |
commit | 44c83ebd7089825a82545c9cacc4c4e2de81d001 (patch) | |
tree | eae27fae044aedfa92aa31b114836f3b197de850 /apps/rand.c | |
parent | Fix C++ support: set $target{cxx} correctly (diff) | |
download | openssl-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/rand.c')
-rw-r--r-- | apps/rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rand.c b/apps/rand.c index d60f1ecf86..e6e9e3ead4 100644 --- a/apps/rand.c +++ b/apps/rand.c @@ -22,7 +22,7 @@ typedef enum OPTION_choice { OPT_OUT, OPT_ENGINE, OPT_RAND, OPT_BASE64, OPT_HEX } OPTION_CHOICE; -OPTIONS rand_options[] = { +const OPTIONS rand_options[] = { {OPT_HELP_STR, 1, '-', "Usage: %s [flags] num\n"}, {OPT_HELP_STR, 1, '-', "Valid options are:\n"}, {"help", OPT_HELP, '-', "Display this summary"}, |