Roundup Robot added the comment:
New changeset 2b18f6c37a68 by Tim Golden in branch 'default':
Issue21393 Use CryptReleaseContext to release Crypt handle on Windows
http://hg.python.org/cpython/rev/2b18f6c37a68
--
___
Python tracker
Tim Golden added the comment:
Use CryptReleaseContext to release Crypt handle on Windows
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
Tim Golden added the comment:
Unfortunately it looks as though this wasn't the correct way to close a Crypto
handle. It isn't a conventional handle and we be using CryptReleaseContext to
close it. cf
http://msdn.microsoft.com/en-us/library/windows/desktop/aa382041%28v=vs.85%29.aspx
for
Changes by Tim Golden m...@timgolden.me.uk:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
___
___
Python-bugs-list
Changes by Tim Golden m...@timgolden.me.uk:
--
resolution: fixed -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
___
___
Python-bugs-list
Zachary Ware added the comment:
LGTM, Tim.
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
___
___
Python-bugs-list
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
___
Roundup Robot added the comment:
New changeset 8704198680ba by Victor Stinner in branch 'default':
Issue #21393: random.c: on Windows, close the hCryptProv handle at exit
http://hg.python.org/cpython/rev/8704198680ba
--
nosy: +python-dev
___
Python
New submission from STINNER Victor:
Attached patch closes hCryptProv handle at Python exit.
--
files: random_closehandle.patch
keywords: patch
messages: 217591
nosy: haypo
priority: normal
severity: normal
status: open
title: Python/random.c: close hCryptProv at exit
versions: Python
Changes by STINNER Victor victor.stin...@gmail.com:
--
components: +Windows
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
___
Stéphane Wirtel added the comment:
+1 for the patch
--
nosy: +matrixise
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
___
___
Tim Golden added the comment:
The crypto stuff's not really my area. I agree that the patch looks sane.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
___
Antoine Pitrou added the comment:
Sounds fine to me.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21393
___
___
Python-bugs-list
13 matches
Mail list logo