Don't set no_protocol if -tls1 selected.

Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
Dr. Stephen Henson 2015-02-24 02:27:51 +00:00
parent 2f8d82d641
commit ccc227565d

View File

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