From 4f326dd8998d5b33f72b11432f110e0f2cfcb92b Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 16 Jan 2017 14:30:59 -0500 Subject: [PATCH] Skip ECDH tests for SSLv3 Reviewed-by: Viktor Dukhovni (Merged from https://github.com/openssl/openssl/pull/1597) --- test/recipes/80-test_ssl_old.t | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/recipes/80-test_ssl_old.t b/test/recipes/80-test_ssl_old.t index d413de33b2..ec09bb848e 100644 --- a/test/recipes/80-test_ssl_old.t +++ b/test/recipes/80-test_ssl_old.t @@ -475,8 +475,13 @@ sub testssl { $flag = "-tls1_2"; } foreach my $cipher (@{$ciphersuites{$protocol}}) { - ok(run(test([@ssltest, @exkeys, "-cipher", $cipher, $flag])), - "Testing $cipher"); + if ($protocol eq "SSLv3" && $cipher =~ /ECDH/ ) { + note "*****SKIPPING $protocol $cipher"; + ok(1); + } else { + ok(run(test([@ssltest, @exkeys, "-cipher", $cipher, $flag])), + "Testing $cipher"); + } } is(run(test([@ssltest, "-s_cipher", "EDH", -- 2.25.1