This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
Oops, got the sense of the test backwards. Hilarious that we didn't spot it.
OPENBSD_5_7
deraadt
10 years ago
parent
75d4ae826b
commit
c0b4a826d3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/lib/libc/stdlib/rand.c
+ 1
- 1
src/lib/libc/stdlib/rand.c
View File
@ -48,7 +48,7 @@ __warn_references(rand_r,
int
rand
(
void
)
{
if
(
rand_deterministic
)
if
(
rand_deterministic
=
=
0
)
return
(
arc4random
(
)
%
(
(
u_int
)
RAND_MAX
+
1
)
)
;
return
(
rand_r
(
&
next
)
)
;
}
Write
Preview
Loading…
Cancel
Save