mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Issue #22564: ssl doc: fix typos
This commit is contained in:
parent
4fe69ba01c
commit
851a6cc071
1 changed files with 2 additions and 2 deletions
|
@ -1005,7 +1005,7 @@ to speed up repeated connections from the same clients.
|
||||||
:data:`CERT_NONE`. At least one of *cafile* or *capath* must be specified.
|
:data:`CERT_NONE`. At least one of *cafile* or *capath* must be specified.
|
||||||
|
|
||||||
This method can also load certification revocation lists (CRLs) in PEM or
|
This method can also load certification revocation lists (CRLs) in PEM or
|
||||||
or DER format. In order to make use of CRLs, :attr:`SSLContext.verify_flags`
|
DER format. In order to make use of CRLs, :attr:`SSLContext.verify_flags`
|
||||||
must be configured properly.
|
must be configured properly.
|
||||||
|
|
||||||
The *cafile* string, if present, is the path to a file of concatenated
|
The *cafile* string, if present, is the path to a file of concatenated
|
||||||
|
@ -1671,7 +1671,7 @@ Manual settings
|
||||||
Verifying certificates
|
Verifying certificates
|
||||||
''''''''''''''''''''''
|
''''''''''''''''''''''
|
||||||
|
|
||||||
When calling the the :class:`SSLContext` constructor directly,
|
When calling the :class:`SSLContext` constructor directly,
|
||||||
:const:`CERT_NONE` is the default. Since it does not authenticate the other
|
:const:`CERT_NONE` is the default. Since it does not authenticate the other
|
||||||
peer, it can be insecure, especially in client mode where most of time you
|
peer, it can be insecure, especially in client mode where most of time you
|
||||||
would like to ensure the authenticity of the server you're talking to.
|
would like to ensure the authenticity of the server you're talking to.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue