diff options
author | Cy Schubert <cy@FreeBSD.org> | 2015-05-04 04:45:59 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2015-05-04 04:45:59 +0000 |
commit | a25439b68651d176ae05867f5090d45fd85e9f24 (patch) | |
tree | 62ff96a32b854c652d9d65280d1d6fd2089b2f1e /contrib/ntp/sntp/libevent/test/regress_main.c | |
parent | 6a273d5ef7c73b3cbf7ed0379c36f8eec21a858a (diff) | |
parent | 4ba32eb5a8bf3455c09d1513ed2af8d2c861a6ba (diff) |
MFV ntp 4.2.8p2 (r281348)
Reviewed by: delphij (suggested MFC)
Approved by: roberto
Security: CVE-2015-1798, CVE-2015-1799
Security: VuXML ebd84c96-dd7e-11e4-854e-3c970e169bc2
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=282408
Diffstat (limited to 'contrib/ntp/sntp/libevent/test/regress_main.c')
-rw-r--r-- | contrib/ntp/sntp/libevent/test/regress_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/ntp/sntp/libevent/test/regress_main.c b/contrib/ntp/sntp/libevent/test/regress_main.c index 58cbe5fe2741..3198ced1da35 100644 --- a/contrib/ntp/sntp/libevent/test/regress_main.c +++ b/contrib/ntp/sntp/libevent/test/regress_main.c @@ -90,6 +90,8 @@ #include "../iocp-internal.h" #include "../event-internal.h" +struct evutil_weakrand_state test_weakrand_state; + long timeval_msec_diff(const struct timeval *start, const struct timeval *end) { @@ -452,6 +454,8 @@ main(int argc, const char **argv) tinytest_set_aliases(testaliases); + evutil_weakrand_seed_(&test_weakrand_state, 0); + if (tinytest_main(argc,argv,testgroups)) return 1; |