[issue3387] undefined array passed to CryptGenRandomBytes

2008-07-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Committed as r65174 and r65175. (for trunk, I had to change PyBytes_AS_STRING into PyString_AS_STRING) Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROT

[issue3387] undefined array passed to CryptGenRandomBytes

2008-07-21 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: -- assignee: -> amaury.forgeotdarc nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3387] undefined array passed to CryptGenRandomBytes

2008-07-16 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson <[EMAIL PROTECTED]>: The CryptGenRandomBytes uses whatever data is already in the buffer as seed for the output. So, the buffer is effectively an in/out buffer. Now, since we are generating random data anyway, the fact that we are using an undefined