aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-06-29 20:08:47 +0200
committerIngela Anderton Andin <[email protected]>2017-06-29 20:08:47 +0200
commit2a18ced05cfacb93802abdaed7a6afeaf0c6bca8 (patch)
tree1e72aefad226b35ad53c150616642c90b4023926 /lib
parent49bcc77de63c37ac6c0de5c14c57583f78610f48 (diff)
downloadotp-2a18ced05cfacb93802abdaed7a6afeaf0c6bca8.tar.gz
otp-2a18ced05cfacb93802abdaed7a6afeaf0c6bca8.tar.bz2
otp-2a18ced05cfacb93802abdaed7a6afeaf0c6bca8.zip
ssl: Move clause so that it will match
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/test/ssl_test_lib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl
index 33497798c5..3b9073ac0b 100644
--- a/lib/ssl/test/ssl_test_lib.erl
+++ b/lib/ssl/test/ssl_test_lib.erl
@@ -1294,6 +1294,8 @@ check_sane_openssl_version(Version) ->
case supports_ssl_tls_version(Version) of
true ->
case {Version, os:cmd("openssl version")} of
+ {'sslv3', "OpenSSL 1.0.2" ++ _} ->
+ false;
{_, "OpenSSL 1.0.2" ++ _} ->
true;
{_, "OpenSSL 1.0.1" ++ _} ->
@@ -1310,8 +1312,6 @@ check_sane_openssl_version(Version) ->
false;
{'dtlsv1.2', "OpenSSL 0" ++ _} ->
false;
- {'sslv3', "OpenSSL 1.0.2" ++ _} ->
- false;
{_, _} ->
true
end;