Permalink
Browse files

Merge pull request #503 from basho/adt-fix-ssl-validation

Don't discard config options that are not validated
  • Loading branch information...
2 parents c887065 + 7aa6bb4 commit 1cc80280eb7e77a83ebd17abcb470e99ca957bfa @Vagabond Vagabond committed Jan 8, 2014
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 1cc8028

Please sign in to comment.