From af699dd621e83a1569e7325a8d80f54b6585ea6d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 4 Sep 2007 09:51:57 +0000 Subject: [PATCH] Document that we rely on the OS to release the crypto context. Fixes #1626801. --- Modules/posixmodule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 24c9e15537..7c25a05b48 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* -- 2.50.0