[tor-bugs] #10812 [Tor]: CryptReleaseContext missed for windows
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Feb 6 02:42:19 UTC 2014
#10812: CryptReleaseContext missed for windows
-----------------------------+-------------------------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version:
Resolution: | Keywords: tor-client crypto win32
Actual Points: | Parent ID:
Points: |
-----------------------------+-------------------------------------
Changes (by nickm):
* keywords: => tor-client crypto win32
* milestone: => Tor: 0.2.5.x-final
Comment:
Well, we cache it in the static "provider" field. So I guess we could
remove that field outside of the function and release it in
crypto_global_cleanup. The alternative is to make it non-static and re-
acquire and re-release it every time we call crypto_strongest_rand().
Is either of these options better than the other?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10812#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list