]> granicus.if.org Git - python/commit
More work on SSL support.
authorBill Janssen <janssen@parc.com>
Mon, 10 Sep 2007 21:51:02 +0000 (21:51 +0000)
committerBill Janssen <janssen@parc.com>
Mon, 10 Sep 2007 21:51:02 +0000 (21:51 +0000)
commit98d19dafd9c9d95338887b9e53c77ec6960918e0
tree1a21af6b4c5c2ba186ff8395663bc751fced6a94
parenta0c05512ec071b98e8170c8cfe845bee6fc934da
More work on SSL support.

* Much expanded test suite:

  All protocols tested against all other protocols.
  All protocols tested with all certificate options.
  Tests for bad key and bad cert.
  Test of STARTTLS functionality.
  Test of RAND_* functions.

* Fixes for threading/malloc bug.

* Issue 1065 fixed:

  sslsocket class renamed to SSLSocket.
  sslerror class renamed to SSLError.
  Function "wrap_socket" now used to wrap an existing socket.

* Issue 1583946 finally fixed:

  Support for subjectAltName added.
  Subject name now returned as proper DN list of RDNs.

* SSLError exported from socket as "sslerror".

* RAND_* functions properly exported from ssl.py.

* Documentation improved:

  Example of how to create a self-signed certificate.
  Better indexing.
15 files changed:
Doc/library/hashlib.rst
Doc/library/ssl.rst
Lib/httplib.py
Lib/imaplib.py
Lib/poplib.py
Lib/smtplib.py
Lib/socket.py
Lib/ssl.py
Lib/test/badcert.pem [new file with mode: 0644]
Lib/test/badkey.pem [new file with mode: 0644]
Lib/test/nullcert.pem [new file with mode: 0644]
Lib/test/regrtest.py
Lib/test/test_socket_ssl.py
Lib/test/test_ssl.py
Modules/_ssl.c