Files
rust/src/libstd
bors 98a8a71236 Auto merge of #31876 - ollie27:win_fill_bytes, r=brson
CryptGenRandom takes a DWORD (u32) for the length so it only supports
writing u32::MAX bytes at a time.

Casting the length from a usize caused truncation meaning the whole
buffer was not always filled.

cc #31841

This is the same as rust-lang-nursery/rand#99. I think it's a good idea to keep the implementations in sync.

r? @alexcrichton
2016-02-26 22:21:59 +00:00
..
2016-02-23 07:31:16 -08:00
2016-02-09 14:07:51 -05:00
2016-02-10 22:30:46 -05:00
2016-02-23 07:31:16 -08:00
2016-01-23 09:03:09 +01:00
2016-02-13 20:44:37 +01:00
2016-02-21 15:32:43 +01:00
2016-02-09 11:52:39 -05:00
2016-02-17 11:29:18 +00:00
2016-02-26 17:05:46 +05:30