summaryrefslogtreecommitdiffstats
path: root/apps/pkeyutl.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/pkeyutl.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/pkeyutl.c')
-rw-r--r--apps/pkeyutl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c
index 02e28e2665..b847eb90fd 100644
--- a/apps/pkeyutl.c
+++ b/apps/pkeyutl.c
@@ -39,7 +39,7 @@ typedef enum OPTION_choice {
OPT_PEERFORM, OPT_KEYFORM, OPT_PKEYOPT, OPT_KDF, OPT_KDFLEN
} OPTION_CHOICE;
-OPTIONS pkeyutl_options[] = {
+const OPTIONS pkeyutl_options[] = {
{"help", OPT_HELP, '-', "Display this summary"},
{"in", OPT_IN, '<', "Input file - default stdin"},
{"out", OPT_OUT, '>', "Output file - default stdout"},