summaryrefslogtreecommitdiff
path: root/src/iceauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iceauth.c')
-rw-r--r--src/iceauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iceauth.c b/src/iceauth.c
index ccbafe6..147efc7 100644
--- a/src/iceauth.c
+++ b/src/iceauth.c
@@ -85,9 +85,9 @@ arc4random_buf (
int len
)
{
+#if HAVE_GETENTROPY
int ret;
-#if HAVE_GETENTROPY
/* weak emulation of arc4random through the entropy libc */
ret = getentropy (auth, len);
if (ret == 0)