Skip to content

Commit 87e8b88

Browse files
committed
Set ciphers
The previous code said setting ciphers deprecated in OTP 22. Appears to be supported in 26 and 28, with no deprecation notice !?! The testing of pb_cipher_suites in riak_test shows that it is required. So original, pre-3.4 behaviour reverted to in this case.
1 parent 9232c87 commit 87e8b88

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/riak_api_ssl.erl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ options() ->
6363
%% verify_fun for them.
6464
[{verify_fun, {fun validate_function/3, {CACerts, []}}} || CheckCRL ].
6565

66-
67-
ciphers() -> [].
66+
ciphers() ->
67+
{Ciphers, _} =
68+
riak_core_ssl_util:parse_ciphers(riak_core_security:get_ciphers()),
69+
[{ciphers, Ciphers}].
6870

6971
%% @doc Validator function for SSL negotiation.
7072
%%

0 commit comments

Comments
 (0)