aboutsummaryrefslogtreecommitdiffstats
path: root/test/ranch_ct_hook.erl
diff options
context:
space:
mode:
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