summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.h
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-03-01 15:38:21 (GMT)
committerGitHub <noreply@github.com>2022-03-01 15:38:21 (GMT)
commite91b0a7139d4a4cbd2351ccb5cd021a100cf42d2 (patch)
treebdc57c22e645e16eb65674c0ac32b93202f7ca75 /Modules/_ssl.h
parent9204bb72a2da5885facc747e63d2bd2d654606fe (diff)
downloadcpython-e91b0a7139d4a4cbd2351ccb5cd021a100cf42d2.zip
cpython-e91b0a7139d4a4cbd2351ccb5cd021a100cf42d2.tar.gz
cpython-e91b0a7139d4a4cbd2351ccb5cd021a100cf42d2.tar.bz2
bpo-46541: remove usage of _Py_IDENTIFIER from _ssl module (GH-31599)
Diffstat (limited to 'Modules/_ssl.h')
-rw-r--r--Modules/_ssl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/_ssl.h b/Modules/_ssl.h
index 5593a45..d68ccde 100644
--- a/Modules/_ssl.h
+++ b/Modules/_ssl.h
@@ -29,6 +29,11 @@ typedef struct {
PyObject *lib_codes_to_names;
/* socket type from module CAPI */
PyTypeObject *Sock_Type;
+ /* Interned strings */
+ PyObject *str_library;
+ PyObject *str_reason;
+ PyObject *str_verify_code;
+ PyObject *str_verify_message;
} _sslmodulestate;
static struct PyModuleDef _sslmodule_def;