summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_networking.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl
index 3dd2d3f744..4b20d0534a 100644
--- a/src/rabbit_networking.erl
+++ b/src/rabbit_networking.erl
@@ -123,9 +123,8 @@ boot_ssl() ->
FilteredCipherSuites =
[C || C <- CipherSuites,
begin
- SuiteCode = case C of
- T when is_tuple(C) -> ssl_cipher:suite(T);
- S when is_list(C) -> ssl_cipher:openssl_suite(S)
+ SuiteCode = if is_tuple(C) -> ssl_cipher:suite(C);
+ is_list(C) -> ssl_cipher:openssl_suite(C)
end,
SP = ssl_cipher:security_parameters(SuiteCode,
#security_parameters{}),