Skip to content

Commit

Permalink
Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (python…
Browse files Browse the repository at this point in the history
…GH-27993) (pythonGH-27999)

(cherry picked from commit 28db1f6)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
  • Loading branch information
miss-islington and adamtheturtle committed Aug 27, 2021
1 parent 9c74678 commit 44dd2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -4231,7 +4231,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);
Expand Down

0 comments on commit 44dd2ec

Please sign in to comment.