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 <jeremy.kloth@gmail.com>
Showing
Please register or sign in to comment