From: Hubert Kario Date: Fri, 31 Jul 2015 17:02:07 +0000 (+0200) Subject: GH351: -help text for some s_client/s_server flags X-Git-Tag: OpenSSL_1_0_2e~123 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a7cb67f4f2457724fbfbc39377f55c26f3aafa80;p=oweals%2Fopenssl.git GH351: -help text for some s_client/s_server flags add -help descriptions of -curves, -sigalgs, -client_sigalgs to s_client and s_server Signed-off-by: Rich Salz Reviewed-by: Tim Hudson --- diff --git a/apps/s_client.c b/apps/s_client.c index e55f2c5abc..2c75e11a25 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -424,6 +424,14 @@ static void sc_usage(void) " -no_ticket - disable use of RFC4507bis session tickets\n"); BIO_printf(bio_err, " -serverinfo types - send empty ClientHello extensions (comma-separated numbers)\n"); + BIO_printf(bio_err, + " -curves arg - Elliptic curves to advertise (colon-separated list)\n"); + BIO_printf(bio_err, + " -sigalgs arg - Signature algorithms to support (colon-separated list)\n"); + BIO_printf(bio_err, + " -client_sigalgs arg - Signature algorithms to support for client\n"); + BIO_printf(bio_err, + " certificate authentication (colon-separated list)\n"); #endif #ifndef OPENSSL_NO_NEXTPROTONEG BIO_printf(bio_err, diff --git a/apps/s_server.c b/apps/s_server.c index acef382c2c..afc72b0c49 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -652,6 +652,12 @@ static void sv_usage(void) " -no_ticket - disable use of RFC4507bis session tickets\n"); BIO_printf(bio_err, " -legacy_renegotiation - enable use of legacy renegotiation (dangerous)\n"); + BIO_printf(bio_err, + " -sigalgs arg - Signature algorithms to support (colon-separated list)\n"); + BIO_printf(bio_err, + " -client_sigalgs arg - Signature algorithms to support for client \n"); + BIO_printf(bio_err, + " certificate authentication (colon-separated list)\n"); # ifndef OPENSSL_NO_NEXTPROTONEG BIO_printf(bio_err, " -nextprotoneg arg - set the advertised protocols for the NPN extension (comma-separated list)\n");