summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorwangcheng <bangwangnj@163.com>2023-09-06 21:29:38 +0800
committerPauli <pauli@openssl.org>2023-09-08 16:16:51 +1000
commit9bb1307dce332c3cfa0a9750bbb59195a01693f3 (patch)
treedb9f982dfe83136fb88d281429df86d5ec0805dd /apps
parent0bb8351f7969bf99c1869854289151fcbff458a3 (diff)
Modify the dkeyform type to support engine
The valtype value of dkeyform defined in the s_server_options structure is F, which leads to the judgment that the engine is not supported when processing parameters in the opt_next function. This the valtype value of dkeyform should be changed to "f". CLA: trivial Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21982) (cherry picked from commit b9a189ce87fde1de4bf691031624538262f005c5)
Diffstat (limited to 'apps')
-rw-r--r--apps/s_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 4760893355..8daa58f9f6 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -788,7 +788,7 @@ const OPTIONS s_server_options[] = {
"second server certificate chain file in PEM format"},
{"dkey", OPT_DKEY, '<',
"Second private key file to use (usually for DSA)"},
- {"dkeyform", OPT_DKEYFORM, 'F',
+ {"dkeyform", OPT_DKEYFORM, 'f',
"Second key file format (ENGINE, other values ignored)"},
{"dpass", OPT_DPASS, 's',
"Second private key and cert file pass phrase source"},