aboutsummaryrefslogtreecommitdiffstats
path: root/test/ranch_ct_hook.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/ranch_ct_hook.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/ranch_ct_hook.erl')
-rw-r--r--test/ranch_ct_hook.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ranch_ct_hook.erl b/test/ranch_ct_hook.erl
index 54bef27..70c1b1b 100644
--- a/test/ranch_ct_hook.erl
+++ b/test/ranch_ct_hook.erl
@@ -28,7 +28,9 @@ init(_, _) ->
%% OTP 21.2/ssl 9.1.
%% @todo Put an upper limit on the version when
%% this is fixed in a future OTP version.
- {{win32, nt}, {ok, Vsn}} when Vsn >= "9.1" ->
+ {_, {ok, "9.0"++_}} ->
+ ok;
+ {{win32, nt}, {ok, "9."++_}} ->
application:set_env(ssl, internal_active_n, 1);
_ ->
ok