aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-07-06 01:43:10 +0200
committerToni Uhlig <matzeton@googlemail.com>2019-07-06 01:43:10 +0200
commit7977be8365673f7f47c1e45f0508f099b7b94246 (patch)
tree58fa4fd528cc612c232d30ea7a7cf1060fa20420 /src/utils.c
parent012a207b03ce131b7edd7360d9322f0bc02bfaab (diff)
parentc64928e8e0211edf2ccfa628dfa41e5bd62ef8ae (diff)
Merge branch 'master' into coverity_scan
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index a65f947..8e340d4 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -160,7 +160,7 @@ int pt_random(void) {
#ifdef HAVE_ARC4RANDOM
return arc4random();
#else
-#if defined(USE_CUSTOMRNG) && !defined(_WIN32)
+#if defined(RNGDEV) && !defined(_WIN32)
static int rng_fd = -1;
ssize_t bytes_read;
int rnd_val;