Mercurial > hg
comparison mercurial/worker.py @ 23223:a4af6fd99fb0 stable
mail: actually use the verifycert config value
The mail module only verifies the smtp ssl certificate if 'verifycert' is enabled
(the default). The 'verifycert' can take three possible values:
- 'strict'
- 'loose'
- any "False" value, eg: 'false' or '0'
We tested the validity of the third value, but never converted it to actual
falseness, making 'False' an equivalent for 'loose'.
This changeset fixes it.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 05 Nov 2014 18:31:39 +0000 |
parents | b3e51675f98e |
children | 328739ea70c3 |
comparison
equal
deleted
inserted
replaced
23206:a7f25a31e021 | 23223:a4af6fd99fb0 |
---|