diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-09-04 09:51:57 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-09-04 09:51:57 (GMT) |
commit | af699dd621e83a1569e7325a8d80f54b6585ea6d (patch) | |
tree | 7674b32cce07cb3fdd283931af93f7cb2b293321 /Modules/posixmodule.c | |
parent | fcb444a8bf249e93eda5803469b33bb42781959a (diff) | |
download | cpython-af699dd621e83a1569e7325a8d80f54b6585ea6d.zip cpython-af699dd621e83a1569e7325a8d80f54b6585ea6d.tar.gz cpython-af699dd621e83a1569e7325a8d80f54b6585ea6d.tar.bz2 |
Document that we rely on the OS to release the crypto
context. Fixes #1626801.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 24c9e15..7c25a05 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -8074,6 +8074,8 @@ typedef BOOL (WINAPI *CRYPTGENRANDOM)(HCRYPTPROV hProv, DWORD dwLen,\ BYTE *pbBuffer ); static CRYPTGENRANDOM pCryptGenRandom = NULL; +/* This handle is never explicitly released. Instead, the operating + system will release it when the process terminates. */ static HCRYPTPROV hCryptProv = 0; static PyObject* |