summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/gendsa.c
diff options
context:
space:
mode:
authorinoguchi <>2019-07-24 14:23:25 +0000
committerinoguchi <>2019-07-24 14:23:25 +0000
commite12a841908623a032f8517da39e197477d8f516d (patch)
tree4d8fddd0b5678951f5ec0db47e866e0580a02c9f /src/usr.bin/openssl/gendsa.c
parent1c81897e8b4e5c28f31ac0c70ca3118a74c40c98 (diff)
downloadopenbsd-e12a841908623a032f8517da39e197477d8f516d.tar.gz
openbsd-e12a841908623a032f8517da39e197477d8f516d.tar.bz2
openbsd-e12a841908623a032f8517da39e197477d8f516d.zip
Capitalize cipher name and mode in help message as sync with pkcs12
Diffstat (limited to 'src/usr.bin/openssl/gendsa.c')
-rw-r--r--src/usr.bin/openssl/gendsa.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/usr.bin/openssl/gendsa.c b/src/usr.bin/openssl/gendsa.c
index 982676818a..fff0053279 100644
--- a/src/usr.bin/openssl/gendsa.c
+++ b/src/usr.bin/openssl/gendsa.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gendsa.c,v 1.13 2019/07/16 12:36:50 inoguchi Exp $ */ 1/* $OpenBSD: gendsa.c,v 1.14 2019/07/24 14:23:25 inoguchi Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -133,19 +133,19 @@ static const struct option gendsa_options[] = {
133#ifndef OPENSSL_NO_AES 133#ifndef OPENSSL_NO_AES
134 { 134 {
135 .name = "aes128", 135 .name = "aes128",
136 .desc = "Encrypt PEM output with cbc aes", 136 .desc = "Encrypt PEM output with CBC AES",
137 .type = OPTION_ARGV_FUNC, 137 .type = OPTION_ARGV_FUNC,
138 .opt.argvfunc = set_enc, 138 .opt.argvfunc = set_enc,
139 }, 139 },
140 { 140 {
141 .name = "aes192", 141 .name = "aes192",
142 .desc = "Encrypt PEM output with cbc aes", 142 .desc = "Encrypt PEM output with CBC AES",
143 .type = OPTION_ARGV_FUNC, 143 .type = OPTION_ARGV_FUNC,
144 .opt.argvfunc = set_enc, 144 .opt.argvfunc = set_enc,
145 }, 145 },
146 { 146 {
147 .name = "aes256", 147 .name = "aes256",
148 .desc = "Encrypt PEM output with cbc aes", 148 .desc = "Encrypt PEM output with CBC AES",
149 .type = OPTION_ARGV_FUNC, 149 .type = OPTION_ARGV_FUNC,
150 .opt.argvfunc = set_enc, 150 .opt.argvfunc = set_enc,
151 }, 151 },
@@ -153,19 +153,19 @@ static const struct option gendsa_options[] = {
153#ifndef OPENSSL_NO_CAMELLIA 153#ifndef OPENSSL_NO_CAMELLIA
154 { 154 {
155 .name = "camellia128", 155 .name = "camellia128",
156 .desc = "Encrypt PEM output with cbc camellia", 156 .desc = "Encrypt PEM output with CBC Camellia",
157 .type = OPTION_ARGV_FUNC, 157 .type = OPTION_ARGV_FUNC,
158 .opt.argvfunc = set_enc, 158 .opt.argvfunc = set_enc,
159 }, 159 },
160 { 160 {
161 .name = "camellia192", 161 .name = "camellia192",
162 .desc = "Encrypt PEM output with cbc camellia", 162 .desc = "Encrypt PEM output with CBC Camellia",
163 .type = OPTION_ARGV_FUNC, 163 .type = OPTION_ARGV_FUNC,
164 .opt.argvfunc = set_enc, 164 .opt.argvfunc = set_enc,
165 }, 165 },
166 { 166 {
167 .name = "camellia256", 167 .name = "camellia256",
168 .desc = "Encrypt PEM output with cbc camellia", 168 .desc = "Encrypt PEM output with CBC Camellia",
169 .type = OPTION_ARGV_FUNC, 169 .type = OPTION_ARGV_FUNC,
170 .opt.argvfunc = set_enc, 170 .opt.argvfunc = set_enc,
171 }, 171 },
@@ -173,13 +173,13 @@ static const struct option gendsa_options[] = {
173#ifndef OPENSSL_NO_DES 173#ifndef OPENSSL_NO_DES
174 { 174 {
175 .name = "des", 175 .name = "des",
176 .desc = "Encrypt the generated key with DES in cbc mode", 176 .desc = "Encrypt the generated key with DES in CBC mode",
177 .type = OPTION_ARGV_FUNC, 177 .type = OPTION_ARGV_FUNC,
178 .opt.argvfunc = set_enc, 178 .opt.argvfunc = set_enc,
179 }, 179 },
180 { 180 {
181 .name = "des3", 181 .name = "des3",
182 .desc = "Encrypt the generated key with DES in ede cbc mode (168 bit key)", 182 .desc = "Encrypt the generated key with DES in EDE CBC mode (168 bit key)",
183 .type = OPTION_ARGV_FUNC, 183 .type = OPTION_ARGV_FUNC,
184 .opt.argvfunc = set_enc, 184 .opt.argvfunc = set_enc,
185 }, 185 },
@@ -187,7 +187,7 @@ static const struct option gendsa_options[] = {
187#ifndef OPENSSL_NO_IDEA 187#ifndef OPENSSL_NO_IDEA
188 { 188 {
189 .name = "idea", 189 .name = "idea",
190 .desc = "Encrypt the generated key with IDEA in cbc mode", 190 .desc = "Encrypt the generated key with IDEA in CBC mode",
191 .type = OPTION_ARGV_FUNC, 191 .type = OPTION_ARGV_FUNC,
192 .opt.argvfunc = set_enc, 192 .opt.argvfunc = set_enc,
193 }, 193 },