]> git.bitcoin.ninja Git - youtube-dl/commit
[utils] make_HTTPS_handler: Use ssl.create_default_context in Python 2.7.9
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 12 Dec 2014 22:27:25 +0000 (23:27 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 12 Dec 2014 22:35:17 +0000 (23:35 +0100)
commit0db261ba567cb5370455d67c4398e11e5e2119f8
tree840573ec771b9ad22f38682c2f4e40025221c39c
parent26c06f0c513347edae6b1005b875a634ec386d19
[utils] make_HTTPS_handler:  Use ssl.create_default_context in Python 2.7.9

The new features in the ssl module have been backported from 3.4, see https://docs.python.org/dev/whatsnew/2.7.html#pep-466-network-security-enhancements-for-python-2-7
youtube_dl/utils.py