mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
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:
parent
6b5aea2dc1
commit
e5f259e575
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue