aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-06-27 15:31:35 +0200
committerIngela Anderton Andin <[email protected]>2017-06-27 15:31:35 +0200
commit798924ffd5efff77ba94ea7f54c2e69548d9d07e (patch)
tree1cbc3c96906cf86cd2d5719ff3e848ecc61661dc /lib/ssl/test
parent693691a8e82e892cab23ee66fe3984a3f98e2aa6 (diff)
parent67eda42fcd2f592f578ebcac3371ee9eb8941f31 (diff)
downloadotp-798924ffd5efff77ba94ea7f54c2e69548d9d07e.tar.gz
otp-798924ffd5efff77ba94ea7f54c2e69548d9d07e.tar.bz2
otp-798924ffd5efff77ba94ea7f54c2e69548d9d07e.zip
Merge branch 'ingela/ssl/test-checks' into maint
* ingela/ssl/test-checks: ssl: Skip sslv2 hello compatible tests on OpenSSL-0.9.8o ssl: Skip sslv3 interop with newer OpenSSL ssl: Increase timeout for testcase testing ECDH keyexchange with RSA signed certs
Diffstat (limited to 'lib/ssl/test')
-rw-r--r--lib/ssl/test/ssl_basic_SUITE.erl2
-rw-r--r--lib/ssl/test/ssl_test_lib.erl5
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_basic_SUITE.erl b/lib/ssl/test/ssl_basic_SUITE.erl
index 407152aa75..64f9927901 100644
--- a/lib/ssl/test/ssl_basic_SUITE.erl
+++ b/lib/ssl/test/ssl_basic_SUITE.erl
@@ -360,6 +360,8 @@ init_per_testcase(TestCase, Config) when TestCase == psk_cipher_suites;
TestCase == psk_with_hint_cipher_suites;
TestCase == ciphers_rsa_signed_certs;
TestCase == ciphers_rsa_signed_certs_openssl_names;
+ TestCase == ciphers_ecdh_rsa_signed_certs_openssl_names;
+ TestCase == ciphers_ecdh_rsa_signed_certs;
TestCase == ciphers_dsa_signed_certs;
TestCase == ciphers_dsa_signed_certs_openssl_names;
TestCase == anonymous_cipher_suites;
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl
index 77c21d9b57..33497798c5 100644
--- a/lib/ssl/test/ssl_test_lib.erl
+++ b/lib/ssl/test/ssl_test_lib.erl
@@ -1310,6 +1310,8 @@ check_sane_openssl_version(Version) ->
false;
{'dtlsv1.2', "OpenSSL 0" ++ _} ->
false;
+ {'sslv3', "OpenSSL 1.0.2" ++ _} ->
+ false;
{_, _} ->
true
end;
@@ -1419,6 +1421,9 @@ supports_ssl_tls_version(sslv2 = Version) ->
case os:cmd("openssl version") of
"OpenSSL 1" ++ _ ->
false;
+ %% Appears to be broken
+ "OpenSSL 0.9.8.o" ++ _ ->
+ false;
_ ->
VersionFlag = version_flag(Version),
Exe = "openssl",