Permalink
Browse files

Don't discard config options that are not validated

  • Loading branch information...
Vagabond committed Jan 6, 2014
1 parent 699324c commit 7aa6bb45c26c12aa9653a7067d0689aea542683b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/riak_core_ssl_util.erl
@@ -111,8 +111,8 @@ validate_ssl_config([{cacertdir, CACertDir}|Rest], Acc) ->
Certs when is_list(Certs) ->
validate_ssl_config(Rest, [{cacerts, Certs}|Acc])
end;
-validate_ssl_config([_|Rest], Acc) ->
- validate_ssl_config(Rest, Acc).
+validate_ssl_config([E|Rest], Acc) ->
+ validate_ssl_config(Rest, [E|Acc]).
upgrade_client_to_ssl(Socket, App) ->
case maybe_use_ssl(App) of

0 comments on commit 7aa6bb4

Please sign in to comment.