RT2301: GetDIBits, not GetBitmapBits in rand_win
authorJake Goulding <goulding@vivisimo.com>
Fri, 5 Sep 2014 15:13:23 +0000 (11:13 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 18 Sep 2014 20:42:07 +0000 (16:42 -0400)
commit5015a93dedd261c6be2cc8d12b4fa2c0d3eef65e
tree8646665289166c0416540fe9ef7b6eae8e990566
parent478b3470ff89ecb84133e1e7851979c7a22b3594
RT2301: GetDIBits, not GetBitmapBits in rand_win

GetDIBits has been around since Windows2000 and
BitBitmapBits is an old Win16 compatibility function
that is much slower.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 99b00fd99330afb0be46265c3e28f25f938d3221)
crypto/rand/rand_win.c