Process::GetRandomNumber(): fix insecure RNG
authorAlp Toker <alp@nuanti.com>
Tue, 3 Jun 2014 03:01:03 +0000 (03:01 +0000)
committerAlp Toker <alp@nuanti.com>
Tue, 3 Jun 2014 03:01:03 +0000 (03:01 +0000)
commit552f2f7b96f8fe7aa67d675b90ddde095ec5629a
treecb1c25f2a720557efbf6c50a32a8e43bd4385003
parentb8f8099895220df694e9cdebea24c6f9ca7e63e7
Process::GetRandomNumber(): fix insecure RNG

This could have generated non-random output under error conditions in release
builds.

llvm-svn: 210065
llvm/lib/Support/Windows/Process.inc