Document that we rely on the OS to release the crypto

context. Fixes #1626801.
This commit is contained in:
Martin v. Löwis 2007-09-04 09:51:57 +00:00
parent fcb444a8bf
commit af699dd621
1 changed files with 2 additions and 0 deletions

View File

@ -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*