Don't set no_protocol if -tls1 selected.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 24 Feb 2015 02:27:51 +0000 (02:27 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 24 Feb 2015 02:28:23 +0000 (02:28 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/ssltest.c

index fb51dddc44963374fbd333b589ea189e697e3b69..89fb44a4ca249afc8daf69777ba0b5cbbd57f09a 100644 (file)
@@ -1130,7 +1130,6 @@ int main(int argc, char *argv[])
         }
 #endif
         else if (strcmp(*argv, "-tls1") == 0) {
         }
 #endif
         else if (strcmp(*argv, "-tls1") == 0) {
-            no_protocol = 1;
             tls1 = 1;
         } else if (strcmp(*argv, "-ssl3") == 0) {
 #ifdef OPENSSL_NO_SSL3_METHOD
             tls1 = 1;
         } else if (strcmp(*argv, "-ssl3") == 0) {
 #ifdef OPENSSL_NO_SSL3_METHOD