summaryrefslogtreecommitdiffstats
path: root/Doc/library/ssl.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-10-10 10:04:15 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-10-10 10:04:15 (GMT)
commit851a6cc07107a67c4fc1365a75cf209926a4bda4 (patch)
treed51ac936a9023a496adad8bba728ea0f6bb1352a /Doc/library/ssl.rst
parent4fe69ba01c39dccaee70d8ece9f2fceebd65a834 (diff)
downloadcpython-851a6cc07107a67c4fc1365a75cf209926a4bda4.zip
cpython-851a6cc07107a67c4fc1365a75cf209926a4bda4.tar.gz
cpython-851a6cc07107a67c4fc1365a75cf209926a4bda4.tar.bz2
Issue #22564: ssl doc: fix typos
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r--Doc/library/ssl.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 5ab6c14..3c9c60f 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -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.
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.
The *cafile* string, if present, is the path to a file of concatenated
@@ -1671,7 +1671,7 @@ Manual settings
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
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.