summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-02 12:44:29 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-02 12:44:29 (GMT)
commit4a7c03aab455613e9ba898b7cae73459fadd57ac (patch)
treed09ea360154f3e045e2f5a76a172b0e6417fc957 /Modules/_ssl.c
parentdf8f5b56c9dc5e950f39ed0221212256a39c1835 (diff)
parentf51d715845dfede2803ef7a2e6ea4e2a03f18486 (diff)
downloadcpython-4a7c03aab455613e9ba898b7cae73459fadd57ac.zip
cpython-4a7c03aab455613e9ba898b7cae73459fadd57ac.tar.gz
cpython-4a7c03aab455613e9ba898b7cae73459fadd57ac.tar.bz2
Issue #25523: Merge a-to-an corrections from 3.5.
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index e43c502..4f4379f 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -2996,7 +2996,7 @@ _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self,
cadata_ascii = PyUnicode_AsASCIIString(cadata);
if (cadata_ascii == NULL) {
PyErr_SetString(PyExc_TypeError,
- "cadata should be a ASCII string or a "
+ "cadata should be an ASCII string or a "
"bytes-like object");
goto error;
}
@@ -3273,7 +3273,7 @@ _servername_callback(SSL *s, int *al, void *args)
ssl = SSL_get_app_data(s);
assert(PySSLSocket_Check(ssl));
- /* The servername callback expects a argument that represents the current
+ /* The servername callback expects an argument that represents the current
* SSL connection and that has a .context attribute that can be changed to
* identify the requested hostname. Since the official API is the Python
* level API we want to pass the callback a Python level object rather than