Message284391
Actually _PyRandom_Fini() has a relation to _PyOS_URandom APIs. It releases resources acquired by _PyOS_URandom APIs. It shouldn't be renamed to _Py_HashRandomization_Fini.
_PyRandom_Init() just initializes _Py_HashSecret. But it can't be implemented via _PyOS_URandom APIs. It uses a static function from this file. If move it to other place, we should add new _PyOS_URandom API function. I don't think this would make the code cleaner. |
|
Date |
User |
Action |
Args |
2016-12-31 13:09:25 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, christian.heimes, eric.snow, steve.dower |
2016-12-31 13:09:25 | serhiy.storchaka | set | messageid: <1483189765.9.0.152422739536.issue29120@psf.upfronthosting.co.za> |
2016-12-31 13:09:25 | serhiy.storchaka | link | issue29120 messages |
2016-12-31 13:09:25 | serhiy.storchaka | create | |
|