[Python-checkins] r57958 - python/trunk/Modules/posixmodule.c

martin.v.loewis python-checkins at python.org
Tue Sep 4 11:51:57 CEST 2007


Author: martin.v.loewis
Date: Tue Sep 4 11:51:57 2007
New Revision: 57958
Modified:
 python/trunk/Modules/posixmodule.c
Log:
Document that we rely on the OS to release the crypto
context. Fixes #1626801.
Modified: python/trunk/Modules/posixmodule.c
==============================================================================
--- python/trunk/Modules/posixmodule.c	(original)
+++ python/trunk/Modules/posixmodule.c	Tue Sep 4 11:51:57 2007
@@ -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*


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /