Message ID | 20170607145452.18831-1-lrichard@redhat.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Jun 07, 2017 at 10:54:52AM -0400, Lance Richardson wrote: > Include --ssl-protocols and --ssl-ciphers options in run-time > help output. > > Sample output with this change: > > PKI configuration (required to use SSL): > -p, --private-key=FILE file with private key > -c, --certificate=FILE file with certificate for private key > -C, --ca-cert=FILE file with peer CA certificate > --bootstrap-ca-cert=FILE file with peer CA certificate to read or create > SSL options: > --ssl-protocols=PROTOS list of SSL protocols to enable > --ssl-ciphers=CIPHERS list of SSL ciphers to enable > > Output formatting options: > > Signed-off-by: Lance Richardson <lrichard@redhat.com> Applied to master, thanks!
diff --git a/lib/stream.c b/lib/stream.c index 5959309..6b57c7c 100644 --- a/lib/stream.c +++ b/lib/stream.c @@ -156,6 +156,9 @@ stream_usage(const char *name, bool active, bool passive, printf(" --bootstrap-ca-cert=FILE file with peer CA certificate " "to read or create\n"); } + printf("SSL options:\n" + " --ssl-protocols=PROTOS list of SSL protocols to enable\n" + " --ssl-ciphers=CIPHERS list of SSL ciphers to enable\n"); #endif }
Include --ssl-protocols and --ssl-ciphers options in run-time help output. Sample output with this change: PKI configuration (required to use SSL): -p, --private-key=FILE file with private key -c, --certificate=FILE file with certificate for private key -C, --ca-cert=FILE file with peer CA certificate --bootstrap-ca-cert=FILE file with peer CA certificate to read or create SSL options: --ssl-protocols=PROTOS list of SSL protocols to enable --ssl-ciphers=CIPHERS list of SSL ciphers to enable Output formatting options: Signed-off-by: Lance Richardson <lrichard@redhat.com> --- lib/stream.c | 3 +++ 1 file changed, 3 insertions(+)