[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #10812 [Tor]: CryptReleaseContext missed for windows



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs