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

(cherry picked from commit 28db1f61f2)
This commit is contained in:
Miss Islington (bot) 2021-09-06 14:35:07 -07:00 committed by GitHub
parent 6b5aea2dc1
commit e5f259e575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);