diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-06 00:51:05 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-06 00:51:05 +0000 |
commit | 61f477f4ab2ad9fcf072f37d9c5676a1ad03c037 (patch) | |
tree | cb8017f747920e7995abfb6f5f458b4b2b4af53f /apps | |
parent | 7e95116064658bfbcedaceee60c0db43a02942e9 (diff) |
Fix duplicate code and typo.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_server.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 6f77406ecb..f5d313ceb5 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -462,7 +462,7 @@ static void sv_usage(void) #endif BIO_printf(bio_err," -ssl2 - Just talk SSLv2\n"); BIO_printf(bio_err," -ssl3 - Just talk SSLv3\n"); - BIO_printf(bio_err," -tls1_1 - Just talk TLSv1_1\n"); + BIO_printf(bio_err," -tls1_1 - Just talk TLSv1.1\n"); BIO_printf(bio_err," -tls1 - Just talk TLSv1\n"); BIO_printf(bio_err," -dtls1 - Just talk DTLSv1\n"); BIO_printf(bio_err," -timeout - Enable timeouts\n"); @@ -1166,8 +1166,6 @@ int MAIN(int argc, char *argv[]) { off|=SSL_OP_NO_TLSv1_1; } else if (strcmp(*argv,"-no_tls1") == 0) { off|=SSL_OP_NO_TLSv1; } - else if (strcmp(*argv,"-no_tls1_1") == 0) - { off|=SSL_OP_NO_TLSv1_1; } else if (strcmp(*argv,"-no_comp") == 0) { off|=SSL_OP_NO_COMPRESSION; } #ifndef OPENSSL_NO_TLSEXT |