Skip to content

Commit

Permalink
Actually, 3.2 and 3.3 don't have SSLContext either. Let's recommend o…
Browse files Browse the repository at this point in the history
…nly ≥ 3.4.
  • Loading branch information
progval committed Feb 22, 2016
1 parent a7096f8 commit 8c3946d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/net.py
Expand Up @@ -171,7 +171,6 @@ def ssl_wrap_socket(conn, hostname, logger, verify=True,
logger.critical('This Python version does not support SSL/TLS '
'certification authority verification, which makes your '
'connection vulnerable to man-in-the-middle attacks.'
'You should consider upgrading to Python 3 '
'(or at least 2.7.9).')
'You should consider upgrading to Python 3.4 or newer.')
return conn
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:

0 comments on commit 8c3946d

Please sign in to comment.