Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993)

This commit is contained in:
Adam Dangoor 2021-08-27 12:38:24 +01:00 committed by GitHub
parent ee9c0527ae
commit 28db1f61f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4047,7 +4047,7 @@ _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self,
goto error; goto error;
} }
/* validata cadata type and load cadata */ /* validate cadata type and load cadata */
if (cadata) { if (cadata) {
if (PyUnicode_Check(cadata)) { if (PyUnicode_Check(cadata)) {
PyObject *cadata_ascii = PyUnicode_AsASCIIString(cadata); PyObject *cadata_ascii = PyUnicode_AsASCIIString(cadata);