summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/genrsa.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/genrsa.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/genrsa.c')
-rw-r--r--src/usr.bin/openssl/genrsa.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/usr.bin/openssl/genrsa.c b/src/usr.bin/openssl/genrsa.c
index 002842b04b..f0cea1f9b1 100644
--- a/src/usr.bin/openssl/genrsa.c
+++ b/src/usr.bin/openssl/genrsa.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: genrsa.c,v 1.16 2019/07/16 12:50:30 inoguchi Exp $ */ 1/* $OpenBSD: genrsa.c,v 1.17 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 *
@@ -179,19 +179,19 @@ static const struct option genrsa_options[] = {
179#ifndef OPENSSL_NO_AES 179#ifndef OPENSSL_NO_AES
180 { 180 {
181 .name = "aes128", 181 .name = "aes128",
182 .desc = "Encrypt PEM output with cbc aes", 182 .desc = "Encrypt PEM output with CBC AES",
183 .type = OPTION_ARGV_FUNC, 183 .type = OPTION_ARGV_FUNC,
184 .opt.argvfunc = set_enc, 184 .opt.argvfunc = set_enc,
185 }, 185 },
186 { 186 {
187 .name = "aes192", 187 .name = "aes192",
188 .desc = "Encrypt PEM output with cbc aes", 188 .desc = "Encrypt PEM output with CBC AES",
189 .type = OPTION_ARGV_FUNC, 189 .type = OPTION_ARGV_FUNC,
190 .opt.argvfunc = set_enc, 190 .opt.argvfunc = set_enc,
191 }, 191 },
192 { 192 {
193 .name = "aes256", 193 .name = "aes256",
194 .desc = "Encrypt PEM output with cbc aes", 194 .desc = "Encrypt PEM output with CBC AES",
195 .type = OPTION_ARGV_FUNC, 195 .type = OPTION_ARGV_FUNC,
196 .opt.argvfunc = set_enc, 196 .opt.argvfunc = set_enc,
197 }, 197 },
@@ -199,19 +199,19 @@ static const struct option genrsa_options[] = {
199#ifndef OPENSSL_NO_CAMELLIA 199#ifndef OPENSSL_NO_CAMELLIA
200 { 200 {
201 .name = "camellia128", 201 .name = "camellia128",
202 .desc = "Encrypt PEM output with cbc camellia", 202 .desc = "Encrypt PEM output with CBC Camellia",
203 .type = OPTION_ARGV_FUNC, 203 .type = OPTION_ARGV_FUNC,
204 .opt.argvfunc = set_enc, 204 .opt.argvfunc = set_enc,
205 }, 205 },
206 { 206 {
207 .name = "camellia192", 207 .name = "camellia192",
208 .desc = "Encrypt PEM output with cbc camellia", 208 .desc = "Encrypt PEM output with CBC Camellia",
209 .type = OPTION_ARGV_FUNC, 209 .type = OPTION_ARGV_FUNC,
210 .opt.argvfunc = set_enc, 210 .opt.argvfunc = set_enc,
211 }, 211 },
212 { 212 {
213 .name = "camellia256", 213 .name = "camellia256",
214 .desc = "Encrypt PEM output with cbc camellia", 214 .desc = "Encrypt PEM output with CBC Camellia",
215 .type = OPTION_ARGV_FUNC, 215 .type = OPTION_ARGV_FUNC,
216 .opt.argvfunc = set_enc, 216 .opt.argvfunc = set_enc,
217 }, 217 },
@@ -219,13 +219,13 @@ static const struct option genrsa_options[] = {
219#ifndef OPENSSL_NO_DES 219#ifndef OPENSSL_NO_DES
220 { 220 {
221 .name = "des", 221 .name = "des",
222 .desc = "Encrypt the generated key with DES in cbc mode", 222 .desc = "Encrypt the generated key with DES in CBC mode",
223 .type = OPTION_ARGV_FUNC, 223 .type = OPTION_ARGV_FUNC,
224 .opt.argvfunc = set_enc, 224 .opt.argvfunc = set_enc,
225 }, 225 },
226 { 226 {
227 .name = "des3", 227 .name = "des3",
228 .desc = "Encrypt the generated key with DES in ede cbc mode (168 bit key)", 228 .desc = "Encrypt the generated key with DES in EDE CBC mode (168 bit key)",
229 .type = OPTION_ARGV_FUNC, 229 .type = OPTION_ARGV_FUNC,
230 .opt.argvfunc = set_enc, 230 .opt.argvfunc = set_enc,
231 }, 231 },
@@ -233,7 +233,7 @@ static const struct option genrsa_options[] = {
233#ifndef OPENSSL_NO_IDEA 233#ifndef OPENSSL_NO_IDEA
234 { 234 {
235 .name = "idea", 235 .name = "idea",
236 .desc = "Encrypt the generated key with IDEA in cbc mode", 236 .desc = "Encrypt the generated key with IDEA in CBC mode",
237 .type = OPTION_ARGV_FUNC, 237 .type = OPTION_ARGV_FUNC,
238 .opt.argvfunc = set_enc, 238 .opt.argvfunc = set_enc,
239 }, 239 },