Document that we rely on the OS to release the crypto
context. Fixes #1626801.
This commit is contained in:
parent
fcb444a8bf
commit
af699dd621
|
@ -8074,6 +8074,8 @@ typedef BOOL (WINAPI *CRYPTGENRANDOM)(HCRYPTPROV hProv, DWORD dwLen,\
|
||||||
BYTE *pbBuffer );
|
BYTE *pbBuffer );
|
||||||
|
|
||||||
static CRYPTGENRANDOM pCryptGenRandom = NULL;
|
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 HCRYPTPROV hCryptProv = 0;
|
||||||
|
|
||||||
static PyObject*
|
static PyObject*
|
||||||
|
|
Loading…
Reference in New Issue