summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2012-07-12 20:44:12 +0000
committersthen <sthen@openbsd.org>2012-07-12 20:44:12 +0000
commitc28cd1efaaffb7b744f3156574e85af9d38019c5 (patch)
treef08b8c8f2a4881071e14d1b3f9f8f90a4d1e26d8 /lib/libssl/src
parentadd missing HISTORY sections (diff)
downloadwireguard-openbsd-c28cd1efaaffb7b744f3156574e85af9d38019c5.tar.xz
wireguard-openbsd-c28cd1efaaffb7b744f3156574e85af9d38019c5.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.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/apps/s_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libssl/src/apps/s_client.c b/lib/libssl/src/apps/s_client.c
index d9d060696f2..28f79287f6e 100644
--- a/lib/libssl/src/apps/s_client.c
+++ b/lib/libssl/src/apps/s_client.c
@@ -329,7 +329,9 @@ static void sc_usage(void)
BIO_printf(bio_err," -mtu - set the link layer MTU\n");
BIO_printf(bio_err," -no_tls1/-no_ssl3/-no_ssl2 - turn off that protocol\n");
BIO_printf(bio_err," -bugs - Switch on all SSL implementation bug workarounds\n");
+#ifndef OPENSSL_NO_SSL2
BIO_printf(bio_err," -serverpref - Use server's cipher preferences (only SSLv2)\n");
+#endif
BIO_printf(bio_err," -cipher - preferred cipher to use, use the 'openssl ciphers'\n");
BIO_printf(bio_err," command to see what is available\n");
BIO_printf(bio_err," -starttls prot - use the STARTTLS command before starting TLS\n");