Merge remote-tracking branch 'jzombi/python3.4_tls'
authorW. Trevor King <wking@tremily.us>
Mon, 14 Dec 2015 15:54:14 +0000 (07:54 -0800)
committerW. Trevor King <wking@tremily.us>
Mon, 14 Dec 2015 15:56:12 +0000 (07:56 -0800)
commit354543d53e1b2716a416d23614b323d5c96aeee3
tree8a7c363546541fe7919715804016ca2cace70b76
parentb55dc173d611fa5439b1e786f75a13a6a40d337d
parent03239000e1a44c830f216ed0746686878b12f5e4
Merge remote-tracking branch 'jzombi/python3.4_tls'

Avoid [1]:

  ssl.SSLError: [SSL: TLSV1_ALERT_DECODE_ERROR] tlsv1 alert decode error (_ssl.c:598)

when using .starttls() after an explicit .connect(host=...) on Python
3.4+ (where they start verifying hostnames).

[1]: http://bugs.python.org/issue25852

* jzombi/python3.4_tls:
  Fix tls bug in python 3.4+

Signed-off-by: W. Trevor King <wking@tremily.us>