]> granicus.if.org Git - libevent/commit
Use evutil_weakrand() in unit tests.
authorNick Mathewson <nickm@torproject.org>
Thu, 18 Sep 2014 16:02:13 +0000 (12:02 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 18 Sep 2014 16:02:13 +0000 (12:02 -0400)
commita677b72bd6d9d378daf9775966aa8ca574e26e67
treece9190e807401ccabcaf0780e1a727a158de99a1
parent76643dd0e75c881f0503d060882fadc9d70d5355
Use evutil_weakrand() in unit tests.

(Coverity doesn't like random() or rand().  We don't care; this is
for unit tests.)

Fixes CID 1239298123929612392951239293.
test/regress.c
test/regress.h
test/regress_main.c
test/regress_minheap.c
test/test-ratelim.c
test/test-time.c