Fix duplicate code and typo.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 6 Feb 2011 00:51:05 +0000 (00:51 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 6 Feb 2011 00:51:05 +0000 (00:51 +0000)
apps/s_server.c

index 6f77406ecbffcca53cac7599d54ff2b88514eae6..f5d313ceb52f3fa6b0620a6f20a95ba29ced14f3 100644 (file)
@@ -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