commit | af699dd621e83a1569e7325a8d80f54b6585ea6d | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Tue Sep 04 09:51:57 2007 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Tue Sep 04 09:51:57 2007 +0000 |
tree | 7674b32cce07cb3fdd283931af93f7cb2b293321 | |
parent | fcb444a8bf249e93eda5803469b33bb42781959a [diff] |
Document that we rely on the OS to release the crypto context. Fixes #1626801.
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 @@ 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*