From: Pichulin Dmitrii Date: Fri, 22 Sep 2017 08:41:04 +0000 (+0300) Subject: Fix 'key' option in s_server can be in ENGINE keyform X-Git-Tag: OpenSSL_1_1_0g~64 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4c9a6a390326038dfe4a3bd3453cb1aa23d33747;p=oweals%2Fopenssl.git Fix 'key' option in s_server can be in ENGINE keyform Reviewed-by: Paul Dale Reviewed-by: Stephen Henson (Merged from https://github.com/openssl/openssl/pull/4405) (cherry picked from commit 75c445e49bb3d22afe72b28ae67945a9f67091f6) --- diff --git a/apps/s_server.c b/apps/s_server.c index a445ad2cc2..f6418af46b 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -704,7 +704,7 @@ OPTIONS s_server_options[] = { "PEM serverinfo file for certificate"}, {"certform", OPT_CERTFORM, 'F', "Certificate format (PEM or DER) PEM default"}, - {"key", OPT_KEY, '<', + {"key", OPT_KEY, 's', "Private Key if not in -cert; default is " TEST_CERT}, {"keyform", OPT_KEYFORM, 'f', "Key format (PEM, DER or ENGINE) PEM default"},