summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.h
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2023-05-22 00:44:48 (GMT)
committerGitHub <noreply@github.com>2023-05-22 00:44:48 (GMT)
commitb9c807a260f63284f16e25b5e98e18191f61a05f (patch)
tree7b666a976cfa6b59de5f2aab9d87d42cdb84e48e /Modules/_ssl.h
parent8817886ae571f5b5ce4e2e6cfd2458622d0efac1 (diff)
downloadcpython-b9c807a260f63284f16e25b5e98e18191f61a05f.zip
cpython-b9c807a260f63284f16e25b5e98e18191f61a05f.tar.gz
cpython-b9c807a260f63284f16e25b5e98e18191f61a05f.tar.bz2
GH-103092: isolate `_ssl` (#104725)
Diffstat (limited to 'Modules/_ssl.h')
-rw-r--r--Modules/_ssl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_ssl.h b/Modules/_ssl.h
index c1da8b4..22d93ddc 100644
--- a/Modules/_ssl.h
+++ b/Modules/_ssl.h
@@ -33,6 +33,8 @@ typedef struct {
PyObject *str_reason;
PyObject *str_verify_code;
PyObject *str_verify_message;
+ /* keylog lock */
+ PyThread_type_lock keylog_lock;
} _sslmodulestate;
static struct PyModuleDef _sslmodule_def;