diff options
author | Colin Watson <cjwatson@debian.org> | 2010-04-16 10:04:09 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-04-16 10:04:09 +0100 |
commit | 78eedc2c60ff4718200f9271d8ee4f437da3a0c5 (patch) | |
tree | 13e783343edf688afffb4a8e02dc9685342b98a6 /openbsd-compat/bsd-arc4random.c | |
parent | d1a87e462e1db89f19cd960588d0c6b287cb5ccc (diff) | |
parent | ff0095389ba9a9e4599e6051c8d5bae6777c4d64 (diff) |
merge 5.5p1
Diffstat (limited to 'openbsd-compat/bsd-arc4random.c')
-rw-r--r-- | openbsd-compat/bsd-arc4random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-arc4random.c b/openbsd-compat/bsd-arc4random.c index 9d4c8690e..d7c586253 100644 --- a/openbsd-compat/bsd-arc4random.c +++ b/openbsd-compat/bsd-arc4random.c | |||
@@ -84,7 +84,7 @@ arc4random_stir(void) | |||
84 | } | 84 | } |
85 | #endif /* !HAVE_ARC4RANDOM */ | 85 | #endif /* !HAVE_ARC4RANDOM */ |
86 | 86 | ||
87 | #ifndef ARC4RANDOM_BUF | 87 | #ifndef HAVE_ARC4RANDOM_BUF |
88 | void | 88 | void |
89 | arc4random_buf(void *_buf, size_t n) | 89 | arc4random_buf(void *_buf, size_t n) |
90 | { | 90 | { |
@@ -102,7 +102,7 @@ arc4random_buf(void *_buf, size_t n) | |||
102 | } | 102 | } |
103 | #endif /* !HAVE_ARC4RANDOM_BUF */ | 103 | #endif /* !HAVE_ARC4RANDOM_BUF */ |
104 | 104 | ||
105 | #ifndef ARC4RANDOM_UNIFORM | 105 | #ifndef HAVE_ARC4RANDOM_UNIFORM |
106 | /* | 106 | /* |
107 | * Calculate a uniformly distributed random number less than upper_bound | 107 | * Calculate a uniformly distributed random number less than upper_bound |
108 | * avoiding "modulo bias". | 108 | * avoiding "modulo bias". |