aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-06-15 16:46:32 +0200
committerIngela Anderton Andin <[email protected]>2017-06-27 15:29:30 +0200
commit67eda42fcd2f592f578ebcac3371ee9eb8941f31 (patch)
treec6bdcf1430471bc507ab29d430c54aa849284e2c /lib
parent34cead57896c89ae27c6a9dcc74c171247595eec (diff)
downloadotp-67eda42fcd2f592f578ebcac3371ee9eb8941f31.tar.gz
otp-67eda42fcd2f592f578ebcac3371ee9eb8941f31.tar.bz2
otp-67eda42fcd2f592f578ebcac3371ee9eb8941f31.zip
ssl: Skip sslv2 hello compatible tests on OpenSSL-0.9.8o
The -ssl2 option to s_client appears to be broken on this release. This is a legacy option anyway that is still tested on other old version of OpenSSL so skip this.
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/test/ssl_test_lib.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl
index 1394fc486f..33497798c5 100644
--- a/lib/ssl/test/ssl_test_lib.erl
+++ b/lib/ssl/test/ssl_test_lib.erl
@@ -1421,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",