diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2007-03-21 12:26:38 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2007-03-21 12:26:38 +0000 |
commit | 2daa434f700577c55beab0ab31f6c4bec7b2e9d9 (patch) | |
tree | 0f9e03065801f39629a04948233d66ccbeb01410 /lib/libevent/Makefile | |
parent | c0ead9feddf77d5dad992432507591a2ac5faff9 (diff) |
Use arc4random() to generate random IDs. In the future we
may want to consider using res_randomid() but since evdns.c
checks for duplicates this is not strictly necessary.
Diffstat (limited to 'lib/libevent/Makefile')
-rw-r--r-- | lib/libevent/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libevent/Makefile b/lib/libevent/Makefile index 7aa87a091b6..e828a2e4447 100644 --- a/lib/libevent/Makefile +++ b/lib/libevent/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.24 2007/03/21 12:22:30 millert Exp $ +# $OpenBSD: Makefile,v 1.25 2007/03/21 12:26:36 millert Exp $ LIB= event WANTLINT= @@ -35,7 +35,7 @@ MLINKS= event.3 event_init.3 event.3 event_dispatch.3 event.3 event_loop.3 \ evdns.3 evdns_set_log_fn.3 CFLAGS+= -I${.CURDIR} -DNDEBUG \ - -DDNS_USE_CPU_CLOCK_FOR_ID \ + -DDNS_USE_ARC4RANDOM_FOR_ID \ -DHAVE_CLOCK_GETTIME \ -DHAVE_CLOCK_MONOTONIC \ -DHAVE_FCNTL_H \ |