aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test
diff options
context:
space:
mode:
authorAndreas Schultz <[email protected]>2012-06-02 15:15:38 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:45 +0200
commitcc8d74769cc49a754598bf914e585d193177a00d (patch)
tree6adf59b418ea675dbabbb3070d6b58bd442af877 /lib/ssl/test
parent263e1ab8a7e1a36481b4526bdb933e0fa2998953 (diff)
downloadotp-cc8d74769cc49a754598bf914e585d193177a00d.tar.gz
otp-cc8d74769cc49a754598bf914e585d193177a00d.tar.bz2
otp-cc8d74769cc49a754598bf914e585d193177a00d.zip
ssl: Add TLS version switches to openssl tests
Diffstat (limited to 'lib/ssl/test')
-rw-r--r--lib/ssl/test/ssl_to_openssl_SUITE.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_to_openssl_SUITE.erl b/lib/ssl/test/ssl_to_openssl_SUITE.erl
index f593c1c552..72090c1db0 100644
--- a/lib/ssl/test/ssl_to_openssl_SUITE.erl
+++ b/lib/ssl/test/ssl_to_openssl_SUITE.erl
@@ -1193,6 +1193,10 @@ cipher(CipherSuite, Version, Config, ClientOpts, ServerOpts) ->
version_flag(tlsv1) ->
" -tls1 ";
+version_flag('tlsv1.1') ->
+ " -tls1_1 ";
+version_flag('tlsv1.2') ->
+ " -tls1_2 ";
version_flag(sslv3) ->
" -ssl3 ".