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_1-pre1~635 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75c445e49bb3d22afe72b28ae67945a9f67091f6;p=openssl 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) --- diff --git a/apps/s_server.c b/apps/s_server.c index d54909ac49..bc3922b030 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -788,7 +788,7 @@ const 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"},