bpo-18407: win32_urandom() uses PY_DWORD_MAX (GH-10656)
CryptGenRandom() maximum size is PY_DWORD_MAX, not INT_MAX. Use DWORD type for the 'chunk' variable Co-Authored-By: Jeremy Kloth <[email protected]>
V
Victor Stinner committed
c48ff73dd60bec5dcbe64bedeff91e6db26d98bc
Parent: 28f468c
Committed by GitHub <[email protected]>
on 11/22/2018, 1:43:07 PM