aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
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 8e340d4..64f6f88 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -157,7 +157,7 @@ void print_hexstr(unsigned char *buf, size_t siz) {
#endif
int pt_random(void) {
-#ifdef HAVE_ARC4RANDOM
+#if defined(HAVE_ARC4RANDOM) || defined(__COVERITY__)
return arc4random();
#else
#if defined(RNGDEV) && !defined(_WIN32)