From 4a3b5b4804ec167677814c2ef47c1915c15e309a Mon Sep 17 00:00:00 2001 From: doug <> Date: Thu, 27 Aug 2015 07:19:17 +0000 Subject: Remove SSLv3 support from LibreSSL regression tests. --- src/regress/lib/libssl/ssl/ssltest.c | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'src/regress/lib/libssl/ssl/ssltest.c') diff --git a/src/regress/lib/libssl/ssl/ssltest.c b/src/regress/lib/libssl/ssl/ssltest.c index 5b03e0e0b8..712e2ca184 100644 --- a/src/regress/lib/libssl/ssl/ssltest.c +++ b/src/regress/lib/libssl/ssl/ssltest.c @@ -431,7 +431,6 @@ sv_usage(void) fprintf(stderr, " -no_dhe - disable DHE\n"); fprintf(stderr, " -no_ecdhe - disable ECDHE\n"); fprintf(stderr, " -dtls1 - use DTLSv1\n"); - fprintf(stderr, " -ssl3 - use SSLv3\n"); fprintf(stderr, " -tls1 - use TLSv1\n"); fprintf(stderr, " -CApath arg - PEM format directory of CA's\n"); fprintf(stderr, " -CAfile arg - PEM format file of CA's\n"); @@ -550,7 +549,7 @@ main(int argc, char *argv[]) int badop = 0; int bio_pair = 0; int force = 0; - int tls1 = 0, ssl3 = 0, dtls1 = 0, ret = 1; + int tls1 = 0, dtls1 = 0, ret = 1; int client_auth = 0; int server_auth = 0, i; struct app_verify_arg app_verify_arg = @@ -618,8 +617,6 @@ main(int argc, char *argv[]) no_ecdhe = 1; else if (strcmp(*argv, "-dtls1") == 0) dtls1 = 1; - else if (strcmp(*argv, "-ssl3") == 0) - ssl3 = 1; else if (strcmp(*argv, "-tls1") == 0) tls1 = 1; else if (strncmp(*argv, "-num", 4) == 0) { @@ -733,12 +730,12 @@ bad: goto end; } - if (!dtls1 && !ssl3 && !tls1 && + if (!dtls1 && !tls1 && number > 1 && !reuse && !force) { fprintf(stderr, "This case cannot work. Use -f to perform " "the test anyway (and\n-d to see what happens), " - "or add one of -dtls1, -ssl3, -tls1, -reuse\n" + "or add one of -dtls1, -tls1, -reuse\n" "to avoid protocol mismatch.\n"); exit(1); } @@ -761,8 +758,6 @@ bad: meth = DTLSv1_method(); else if (tls1) meth = TLSv1_method(); - else if (ssl3) - meth = SSLv3_method(); else meth = SSLv23_method(); @@ -2169,20 +2164,6 @@ do_test_cipherlist(void) const SSL_METHOD *meth; const SSL_CIPHER *ci, *tci = NULL; - fprintf(stderr, "testing SSLv3 cipher list order: "); - meth = SSLv3_method(); - tci = NULL; - while ((ci = meth->get_cipher(i++)) != NULL) { - if (tci != NULL) { - if (ci->id >= tci->id) { - fprintf(stderr, - "failed %lx vs. %lx\n", ci->id, tci->id); - return 0; - } - } - tci = ci; - } - fprintf(stderr, "ok\n"); fprintf(stderr, "testing TLSv1 cipher list order: "); meth = TLSv1_method(); tci = NULL; -- cgit v1.2.3-55-g6feb