Fix building random-drbg for Win32/64
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 20 Feb 2016 19:27:15 +0000 (21:27 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 20 Feb 2016 19:27:15 +0000 (21:27 +0200)
commit531b25aa94c58f6d2168a9537c8cea6c53d7bbe0
treeeaefe3f17a8b0d022871925a85e23b73a9061fab
parent839d12c221430b60db5e0d6fbb107f22e0a6837f
Fix building random-drbg for Win32/64

* random/random-drbg.c: Remove include for sys/types.h and asm/types.h.
(DRBG_PREDICTION_RESIST, DRBG_CTRAES, DRBG_CTRSERPENT, DRBG_CTRTWOFISH)
(DRBG_HASHSHA1, DRBG_HASHSHA224, DRBG_HASHSHA256, DRBG_HASHSHA384)
(DRBG_HASHSHA512, DRBG_HMAC, DRBG_SYM128, DRBG_SYM192)
(DRBG_SYM256): Change 'u_int32_t' to 'u32'.
(drbg_get_entropy) [USE_RNDUNIX, USE_RNDW32]: Fix parameters
'drbg_read_cb' and 'len'.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
random/random-drbg.c