Fixed SSL certificate validation (again)
commit3f93170a7d12887c8795b4a0a6376b2482d2cfe3
authorThomas Leonard <talex5@gmail.com>
Thu, 19 Jan 2012 19:39:13 +0000 (19 19:39 +0000)
committerThomas Leonard <talex5@gmail.com>
Thu, 19 Jan 2012 19:39:13 +0000 (19 19:39 +0000)
tree0fba2a4e77fd25b4a2ea4eb57bb5aba7099f9c60
parentd0fc61ea2d15e0d0415651c461975ab75ecb48a7
Fixed SSL certificate validation (again)

Even with certificate validation turned on, Python doesn't actually check that
the certificate presented is for the site you requested.

See: http://bugs.python.org/issue1589
zeroinstall/injector/_download_child.py
zeroinstall/support/ssl_match_hostname.py [new file with mode: 0644]