mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Document that we rely on the OS to release the crypto
context. Fixes #1626801.
This commit is contained in:
parent
fcb444a8bf
commit
af699dd621
1 changed files with 2 additions and 0 deletions
|
@ -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*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue