Commit a7cb67f4 authored by Hubert Kario's avatar Hubert Kario Committed by Rich Salz
Browse files

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: default avatarRich Salz <rsalz@akamai.com>
Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
parent 6cc31d42
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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,
+6 −0
Original line number Diff line number Diff line
@@ -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");