summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-06 21:35:07 (GMT)
committerGitHub <noreply@github.com>2021-09-06 21:35:07 (GMT)
commite5f259e575e474626b1e314b8d4f0a8cd61832e1 (patch)
tree002bb2fc9824597eab1874adbf15469aae24806e
parent6b5aea2dc1bf7e117d40d6c9035d5c13124fd968 (diff)
downloadcpython-e5f259e575e474626b1e314b8d4f0a8cd61832e1.zip
cpython-e5f259e575e474626b1e314b8d4f0a8cd61832e1.tar.gz
cpython-e5f259e575e474626b1e314b8d4f0a8cd61832e1.tar.bz2
Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) (GH-27997)
(cherry picked from commit 28db1f61f20352c02e4ae1518e5aeb6505df3045)
-rw-r--r--Modules/_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 84cc369..6c63301 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -4047,7 +4047,7 @@ _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self,
goto error;
}
- /* validata cadata type and load cadata */
+ /* validate cadata type and load cadata */
if (cadata) {
if (PyUnicode_Check(cadata)) {
PyObject *cadata_ascii = PyUnicode_AsASCIIString(cadata);