aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl.erl
diff options
context:
space:
mode:
authorAndreas Schultz <[email protected]>2012-04-08 03:55:39 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:45 +0200
commit263e1ab8a7e1a36481b4526bdb933e0fa2998953 (patch)
tree00e300dd0ee3e35db703d6a7cfc5889668bdaa5c /lib/ssl/src/ssl.erl
parentc2761da0b7d764ca2862a4ea138cfe8a95f96c59 (diff)
downloadotp-263e1ab8a7e1a36481b4526bdb933e0fa2998953.tar.gz
otp-263e1ab8a7e1a36481b4526bdb933e0fa2998953.tar.bz2
otp-263e1ab8a7e1a36481b4526bdb933e0fa2998953.zip
ssl: Enable TLS 1.2
Diffstat (limited to 'lib/ssl/src/ssl.erl')
-rw-r--r--lib/ssl/src/ssl.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index d645d89a68..5bd382b8c4 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -719,7 +719,8 @@ validate_option(Opt, Value) ->
validate_versions([], Versions) ->
Versions;
-validate_versions([Version | Rest], Versions) when Version == 'tlsv1.1';
+validate_versions([Version | Rest], Versions) when Version == 'tlsv1.2';
+ Version == 'tlsv1.1';
Version == tlsv1;
Version == sslv3 ->
validate_versions(Rest, Versions);