Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Don't discard config options that are not validated
  • Loading branch information...
commit 1cc80280eb7e77a83ebd17abcb470e99ca957bfa 2 parents c887065 + 7aa6bb4
@Vagabond Vagabond authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/riak_core_ssl_util.erl
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.