aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-10-20 12:09:53 +0200
committerLoïc Hoguin <[email protected]>2013-10-20 12:09:53 +0200
commitb64438110c31614543445d63124fd9299fe53b9f (patch)
treef327e0165964e9af8fee447daef9f1376a4fcb41 /src
parentf047b0990c4385eb6d5678b06fa2b404c66eb8b4 (diff)
parenteb83dc0cd8f9579083192adde7f6f921e18dfbf0 (diff)
downloadranch-b64438110c31614543445d63124fd9299fe53b9f.tar.gz
ranch-b64438110c31614543445d63124fd9299fe53b9f.tar.bz2
ranch-b64438110c31614543445d63124fd9299fe53b9f.zip
Merge branch 'broken-ecc-workaround-R16B02' of git://github.com/KlausTrainer/ranch
Diffstat (limited to 'src')
-rw-r--r--src/ranch_ssl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_ssl.erl b/src/ranch_ssl.erl
index dfc5f11..f4a3c50 100644
--- a/src/ranch_ssl.erl
+++ b/src/ranch_ssl.erl
@@ -281,7 +281,7 @@ ssl_accept(Socket, Timeout) ->
-spec unbroken_cipher_suites() -> [ssl:erl_cipher_suite()].
unbroken_cipher_suites() ->
case proplists:get_value(ssl_app, ssl:versions()) of
- "5.3" ->
+ Version when Version =:= "5.3"; Version =:= "5.3.1" ->
lists:filter(fun(Suite) ->
string:left(atom_to_list(element(1, Suite)), 4) =/= "ecdh"
end, ssl:cipher_suites());