diff options
author | sthen <> | 2012-07-12 20:44:12 +0000 |
---|---|---|
committer | sthen <> | 2012-07-12 20:44:12 +0000 |
commit | e7c356166f940680e7860f17ed3e4e03ea5f474b (patch) | |
tree | e553e8e9cf473034bec2656af2bbfa240379bc26 | |
parent | afb25265bd9be6cd38185c3953b58d628a497c6d (diff) | |
download | openbsd-e7c356166f940680e7860f17ed3e4e03ea5f474b.tar.gz openbsd-e7c356166f940680e7860f17ed3e4e03ea5f474b.tar.bz2 openbsd-e7c356166f940680e7860f17ed3e4e03ea5f474b.zip |
Skip printing another SSLv2-only command in s_client's usage text.
jmc@ noticed this in the manpage while updating it, but it applies here too.
-rw-r--r-- | src/lib/libssl/src/apps/s_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libssl/src/apps/s_client.c b/src/lib/libssl/src/apps/s_client.c index d9d060696f..28f79287f6 100644 --- a/src/lib/libssl/src/apps/s_client.c +++ b/src/lib/libssl/src/apps/s_client.c | |||
@@ -329,7 +329,9 @@ static void sc_usage(void) | |||
329 | BIO_printf(bio_err," -mtu - set the link layer MTU\n"); | 329 | BIO_printf(bio_err," -mtu - set the link layer MTU\n"); |
330 | BIO_printf(bio_err," -no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol\n"); | 330 | BIO_printf(bio_err," -no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol\n"); |
331 | BIO_printf(bio_err," -bugs - Switch on all SSL implementation bug workarounds\n"); | 331 | BIO_printf(bio_err," -bugs - Switch on all SSL implementation bug workarounds\n"); |
332 | #ifndef OPENSSL_NO_SSL2 | ||
332 | BIO_printf(bio_err," -serverpref - Use server's cipher preferences (only SSLv2)\n"); | 333 | BIO_printf(bio_err," -serverpref - Use server's cipher preferences (only SSLv2)\n"); |
334 | #endif | ||
333 | BIO_printf(bio_err," -cipher - preferred cipher to use, use the 'openssl ciphers'\n"); | 335 | BIO_printf(bio_err," -cipher - preferred cipher to use, use the 'openssl ciphers'\n"); |
334 | BIO_printf(bio_err," command to see what is available\n"); | 336 | BIO_printf(bio_err," command to see what is available\n"); |
335 | BIO_printf(bio_err," -starttls prot - use the STARTTLS command before starting TLS\n"); | 337 | BIO_printf(bio_err," -starttls prot - use the STARTTLS command before starting TLS\n"); |