[Python-checkins] Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993)
ambv
webhook-mailer at python.org
Fri Aug 27 07:38:33 EDT 2021
https://github.com/python/cpython/commit/28db1f61f20352c02e4ae1518e5aeb6505df3045
commit: 28db1f61f20352c02e4ae1518e5aeb6505df3045
branch: main
author: Adam Dangoor <adamdangoor at gmail.com>
committer: ambv <lukasz at langa.pl>
date: 2021-08-27T13:38:24+02:00
summary:
Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993)
files:
M Modules/_ssl.c
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 84cc3697b0706..6c63301b2a7d8 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);
More information about the Python-checkins
mailing list