From b986eae8289e2c5c485397bcd4abe89ef51ebd9a Mon Sep 17 00:00:00 2001 From: juhlig Date: Thu, 6 Jun 2019 14:06:07 +0200 Subject: Remove pre-21 ssl version switches from tests --- test/ranch_ct_hook.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/ranch_ct_hook.erl') 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 -- cgit v1.2.3