diff options
| author | Emile Joubert <emile@rabbitmq.com> | 2010-09-14 15:18:19 +0100 |
|---|---|---|
| committer | Emile Joubert <emile@rabbitmq.com> | 2010-09-14 15:18:19 +0100 |
| commit | 19f462bf66c64ac1f7e2fc2bd5dadade272aade8 (patch) | |
| tree | 18b35527a5939013c8558c3a2bbf7790a4d48c6e /src | |
| parent | 402758fc0f10d64986079f95eecf9774168e4a07 (diff) | |
| download | rabbitmq-server-git-19f462bf66c64ac1f7e2fc2bd5dadade272aade8.tar.gz | |
Re-indent
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_networking.erl | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl index 4b20d0534a..da4eb66aee 100644 --- a/src/rabbit_networking.erl +++ b/src/rabbit_networking.erl @@ -119,20 +119,25 @@ boot_ssl() -> | SslOptsConfig] end, % In R13B04 and R14A (at least), rc4 is incorrectly implemented. - CipherSuites = proplists:get_value(ciphers, SslOpts, ssl:cipher_suites()), + CipherSuites = proplists:get_value(ciphers, + SslOpts, + ssl:cipher_suites()), FilteredCipherSuites = [C || C <- CipherSuites, begin - 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{}), + 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{}), SP#security_parameters.bulk_cipher_algorithm =/= ?RC4 end], SslOpts1 = [{ciphers, FilteredCipherSuites} | [{K, V} || {K, V} <- SslOpts, K =/= ciphers]], - [start_ssl_listener(Host, Port, SslOpts1) || {Host, Port} <- SslListeners], + [start_ssl_listener(Host, Port, SslOpts1) + || {Host, Port} <- SslListeners], ok end. |
