summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_networking.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl
index 81a0d50af5..a1c8a226a6 100644
--- a/src/rabbit_networking.erl
+++ b/src/rabbit_networking.erl
@@ -121,7 +121,7 @@ boot_ssl() ->
fun ({_, rc4_128, _}) ->
false;
(S) when is_list(S) ->
- match =/= re:run(S, "RC4", [{capture, none}]);
+ string:str(S, "RC4") =:= 0;
(_) ->
true
end,