Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge remote-tracking branch 'origin/patches-2.0'

Conflicts:
	evutil_rand.c
  • Loading branch information...
commit a64c56470d6ff698b87db1660656d4795d845239 2 parents 403b0d6 + ca80ea6
Nick Mathewson authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  configure.in
  2. +1 −1  evutil_rand.c
View
1  configure.in
@@ -44,6 +44,7 @@ dnl the 'host' machine is where the resulting stuff runs.
dnl Checks for programs.
AM_PROG_CC_C_O
+AC_PROG_SED
AC_PROG_INSTALL
AC_PROG_LN_S
# AC_PROG_MKDIR_P - $(MKDIR_P) should be defined by AM_INIT_AUTOMAKE
View
2  evutil_rand.c
@@ -65,10 +65,10 @@ evutil_free_secure_rng_globals_locks(void)
static void
ev_arc4random_buf(void *buf, size_t n)
{
- unsigned char *b = buf;
#if defined(EVENT__HAVE_ARC4RANDOM_BUF) && !defined(__APPLE__)
return arc4random_buf(buf, n);
#else
+ unsigned char *b = buf;
#if defined(EVENT__HAVE_ARC4RANDOM_BUF)
/* OSX 10.7 introducd arc4random_buf, so if you build your program
Please sign in to comment.
Something went wrong with that request. Please try again.