diff options
author | Andreas Schultz <[email protected]> | 2012-04-08 03:55:39 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-08-22 14:00:45 +0200 |
commit | 263e1ab8a7e1a36481b4526bdb933e0fa2998953 (patch) | |
tree | 00e300dd0ee3e35db703d6a7cfc5889668bdaa5c /lib/ssl/src/ssl.erl | |
parent | c2761da0b7d764ca2862a4ea138cfe8a95f96c59 (diff) | |
download | otp-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.erl | 3 |
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); |