From b3ca5727169deaa38917edca8288dcaff9a36800 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Sat, 26 Aug 2017 14:30:55 +0200 Subject: ssl: Make sure test initilization is clean Otherwhise test can be wrongly initialized and will fail as they try to run with a broken setup. --- lib/ssl/test/ssl_test_lib.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/ssl/test/ssl_test_lib.erl') diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl index c919f901a1..ba061cb19c 100644 --- a/lib/ssl/test/ssl_test_lib.erl +++ b/lib/ssl/test/ssl_test_lib.erl @@ -1115,8 +1115,7 @@ init_tls_version(Version, Config) -> NewConfig = proplists:delete(protocol_opts, proplists:delete(protocol, Config)), [{protocol, tls} | NewConfig]. -init_tls_version_default(Config) -> - %% Remove non default options that may be left from other test groups +clean_tls_version(Config) -> proplists:delete(protocol_opts, proplists:delete(protocol, Config)). sufficient_crypto_support(Version) -- cgit v1.2.3