diff options
author | Emile Joubert <emile@rabbitmq.com> | 2013-10-09 11:29:59 +0100 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2013-10-09 11:29:59 +0100 |
commit | 264c96cfd0dbe70ad35e770cf66c4b06c56904b3 (patch) | |
tree | 45eaeb0220f67c2cebf63094dd952972768e938c /src | |
parent | ab20cb6125e2fb9ed1ac156f51784a11ff01ad5a (diff) | |
download | rabbitmq-server-264c96cfd0dbe70ad35e770cf66c4b06c56904b3.tar.gz |
Support only historical verify_fun signature
Diffstat (limited to 'src')
-rw-r--r-- | src/rabbit_networking.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl index aa54d6c5..47b47e42 100644 --- a/src/rabbit_networking.erl +++ b/src/rabbit_networking.erl @@ -152,9 +152,8 @@ ensure_ssl() -> case rabbit_misc:pget(verify_fun, SslOptsConfig) of {Module, Function} -> rabbit_misc:pset(verify_fun, - fun (OtpCert, Event, State) -> - apply(Module, Function, - [OtpCert, Event, State]) + fun (ErrorList) -> + apply(Module, Function, [ErrorList]) end, SslOptsConfig); undefined -> % unknown_ca errors are silently ignored prior to R14B unless we |