aboutsummaryrefslogtreecommitdiffstats
path: root/test/acceptor_SUITE.erl
diff options
context:
space:
mode:
authorjuhlig <[email protected]>2019-06-06 14:06:07 +0200
committerjuhlig <[email protected]>2019-06-06 14:06:07 +0200
commitb986eae8289e2c5c485397bcd4abe89ef51ebd9a (patch)
tree7233fc83d8d2ae56da9ea4eb6969b166bd974503 /test/acceptor_SUITE.erl
parent55d56a1108a92b53633629b76458e830fcc99e35 (diff)
downloadranch-b986eae8289e2c5c485397bcd4abe89ef51ebd9a.tar.gz
ranch-b986eae8289e2c5c485397bcd4abe89ef51ebd9a.tar.bz2
ranch-b986eae8289e2c5c485397bcd4abe89ef51ebd9a.zip
Remove pre-21 ssl version switches from tests
Diffstat (limited to 'test/acceptor_SUITE.erl')
-rw-r--r--test/acceptor_SUITE.erl34
1 files changed, 6 insertions, 28 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl
index c7d7a00..3e65830 100644
--- a/test/acceptor_SUITE.erl
+++ b/test/acceptor_SUITE.erl
@@ -472,10 +472,12 @@ ssl_active_echo(_) ->
ssl_active_n_echo(_) ->
case application:get_key(ssl, vsn) of
- {ok, Vsn} when Vsn >= "9.2" ->
- do_ssl_active_n_echo();
- _ ->
- {skip, "No Active N support."}
+ {ok, "9.0"++_} ->
+ {skip, "No Active N support."};
+ {ok, "9.1"++_} ->
+ {skip, "No Active N support."};
+ {ok, _} ->
+ do_ssl_active_n_echo()
end.
do_ssl_active_n_echo() ->
@@ -548,14 +550,6 @@ do_ssl_local_echo() ->
end.
ssl_sni_echo(_) ->
- case application:get_key(ssl, vsn) of
- {ok, Vsn} when Vsn >= "7.0" ->
- do_ssl_sni_echo();
- _ ->
- {skip, "No SNI support."}
- end.
-
-do_ssl_sni_echo() ->
doc("Ensure that SNI works with SSL transport."),
Name = name(),
Opts = ct_helper:get_certs_from_ets(),
@@ -573,14 +567,6 @@ do_ssl_sni_echo() ->
ok.
ssl_sni_fail(_) ->
- case application:get_key(ssl, vsn) of
- {ok, Vsn} when Vsn >= "7.0" ->
- do_ssl_sni_fail();
- _ ->
- {skip, "No SNI support."}
- end.
-
-do_ssl_sni_fail() ->
doc("Ensure that connection fails when host is not in SNI list."),
Name = name(),
Opts = ct_helper:get_certs_from_ets(),
@@ -672,14 +658,6 @@ ssl_getopts_capability(_) ->
ok.
ssl_getstat_capability(_) ->
- case application:get_key(ssl, vsn) of
- {ok, Vsn} when Vsn>="8.0" ->
- do_ssl_getstat_capability();
- _ ->
- {skip, "No getstat/1,2 support."}
- end.
-
-do_ssl_getstat_capability() ->
doc("Ensure getstat/1,2 capability."),
Name=name(),
Opts=ct_helper:get_certs_from_ets(),