On 4 March 2016 at 22:11, Sam Ruby <ru...@apache.org> wrote:
> Commit 8e4446b542c6a69f2d754e4e53ced1860e82617b:
>     disable SMTP certificate verification

Why?

This should be documented in the code.

>
> Branch: refs/heads/master
> Author: Sam Ruby <ru...@intertwingly.net>
> Committer: Sam Ruby <ru...@intertwingly.net>
> Pusher: rubys <ru...@apache.org>
>
> ------------------------------------------------------------
> www/roster/main.rb                                           | +++++
> ------------------------------------------------------------
> 5 changes: 5 additions, 0 deletions.
> ------------------------------------------------------------
>
>
> diff --git a/www/roster/main.rb b/www/roster/main.rb
> index 084d675..0c16b19 100755
> --- a/www/roster/main.rb
> +++ b/www/roster/main.rb
> @@ -20,6 +20,11 @@
>  require_relative 'banner'
>  require_relative 'models'
>
> +# Disable smtp certificate verification
> +Mail.defaults do
> +  delivery_method :smtp, openssl_verify_mode: 'none'
> +end
> +
>  get '/' do
>    if env['REQUEST_URI'].end_with? '/'
>      @committers = ASF::Person.list

Reply via email to