]> granicus.if.org Git - python/commit
Add support for asyncore server-side SSL support. This requires
authorBill Janssen <janssen@parc.com>
Sun, 16 Sep 2007 22:06:00 +0000 (22:06 +0000)
committerBill Janssen <janssen@parc.com>
Sun, 16 Sep 2007 22:06:00 +0000 (22:06 +0000)
commit296a59d3be01d6ac77fe674333104eb89fd5e695
tree41fddf17b41c6df7a56fbb5e7bafa0c2e489c9cd
parent7e84c7f4b5ddf713e940c33ccb82cd1916e937b4
Add support for asyncore server-side SSL support.  This requires
adding the 'makefile' method to ssl.SSLSocket, and importing the
requisite fakefile class from socket.py, and making the appropriate
changes to it to make it use the SSL connection.

Added sample HTTPS server to test_ssl.py, and test that uses it.

Change SSL tests to use https://svn.python.org/, instead of
www.sf.net and pop.gmail.com.

Added utility function to ssl module, get_server_certificate,
to wrap up the several things to be done to pull a certificate
from a remote server.
Doc/library/ssl.rst
Lib/ssl.py
Lib/test/test_socket_ssl.py
Lib/test/test_ssl.py
Modules/_ssl.c