This commit is contained in:
Benjamin Peterson 2015-03-16 12:45:27 -05:00
commit 85586ebc39
1 changed files with 6 additions and 2 deletions

View File

@ -245,8 +245,8 @@ purposes.
:const:`None`, this function can choose to trust the system's default :const:`None`, this function can choose to trust the system's default
CA certificates instead. CA certificates instead.
The settings in Python 3.4 are: :data:`PROTOCOL_SSLv23`, :data:`OP_NO_SSLv2`, The settings are: :data:`PROTOCOL_SSLv23`, :data:`OP_NO_SSLv2`, and
and :data:`OP_NO_SSLv3` with high encryption cipher suites without RC4 and :data:`OP_NO_SSLv3` with high encryption cipher suites without RC4 and
without unauthenticated cipher suites. Passing :data:`~Purpose.SERVER_AUTH` without unauthenticated cipher suites. Passing :data:`~Purpose.SERVER_AUTH`
as *purpose* sets :data:`~SSLContext.verify_mode` to :data:`CERT_REQUIRED` as *purpose* sets :data:`~SSLContext.verify_mode` to :data:`CERT_REQUIRED`
and either loads CA certificates (when at least one of *cafile*, *capath* or and either loads CA certificates (when at least one of *cafile*, *capath* or
@ -276,6 +276,10 @@ purposes.
.. versionadded:: 3.4 .. versionadded:: 3.4
.. versionchanged:: 3.4.4
RC4 was dropped from the default cipher string.
Random generation Random generation
^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^