From 9710a33ba1ee40e043dee50b6f483d7727cf1512 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 30 May 2019 21:56:22 +0200 Subject: [PATCH] Disable getentropy() on Apple devices --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 88259b75..9e2de27c 100644 --- a/configure.ac +++ b/configure.ac @@ -825,6 +825,10 @@ unsigned char buf; # include #endif ]], [[ +#ifdef __APPLE__ +# error getentropy() is currently disabled on Apple operating systems +#endif + unsigned char buf; (void) getentropy((void *) &buf, 1U); ]])],