mirror of https://github.com/python/cpython
Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993)
This commit is contained in:
parent
ee9c0527ae
commit
28db1f61f2
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue