Re: [PATCH STABLE 🚑] mail: actually use the verifycert config value

Martin von Zweigbergk martinvonz at google.com
Wed Nov 5 23:19:35 CST 2014


On Wed Nov 05 2014 at 5:11:57 PM Pierre-Yves David <
pierre-yves.david at ens-lyon.org> wrote:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1415212299 0
> #      Wed Nov 05 18:31:39 2014 +0000
> # Node ID 3a44dbed6cb41b9573b4d74dd4cd9998a8f6a1c2
> # Parent  1743ad376a1aae9981a8fdd57f3690e8a8c0d819
> mail: actually use the verifycert config value
>
> The mail module only verify the smtp ssl certificate if 'verifycert' is
> enabled
> (the default). The 'verifycert' can take three possible values:
>
> - 'strict' (means enabled)
> - 'loose' (means disabled)


According to the commit message of the commit that added the feature (
http://selenic.com/hg/rev/19d489404d79), 'loose' does not mean disabled.
The differentiation between 'loose' and 'strict' seems to be done here:
http://selenic.com/hg/file/2d54aa5397cd/mercurial/mail.py#l133
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20141106/aef42cbc/attachment.html>


More information about the Mercurial-devel mailing list