aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_test_lib.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-08-26 14:30:55 +0200
committerIngela Anderton Andin <[email protected]>2017-09-01 16:15:24 +0200
commitb3ca5727169deaa38917edca8288dcaff9a36800 (patch)
treeff04315517b92fcf24bc751df99d1ba2ec5e7b0f /lib/ssl/test/ssl_test_lib.erl
parent3bc5c3b35b3151143dffe94290c9ddf29b1b10d6 (diff)
downloadotp-b3ca5727169deaa38917edca8288dcaff9a36800.tar.gz
otp-b3ca5727169deaa38917edca8288dcaff9a36800.tar.bz2
otp-b3ca5727169deaa38917edca8288dcaff9a36800.zip
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.
Diffstat (limited to 'lib/ssl/test/ssl_test_lib.erl')
-rw-r--r--lib/ssl/test/ssl_test_lib.erl3
1 files changed, 1 insertions, 2 deletions
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)