git.iko.soy/typeable/entropy
on main help sign in
fix macro name error
commit10452215eb4aa57bbe47f483f4a574dfa1ef3b05 authordaleiz <30970925+daleiz@users.noreply.github.com> dateMon 22 Aug 2022, 14:33 (4 years ago) parentd2cf3bd
1 file changed+2−2
cbits/random_initialized.c+2−2
cbits/random_initialized.c+2−2
@@ -6,7 +6,7 @@
66#include <unistd.h>
77
88#ifdef HAVE_GETENTROPY
9−#ifndef !DO_NOT_USE_GET_ENTROPY
9+#ifndef DO_NOT_USE_GET_ENTROPY
1010static int ensure_pool_initialized_getentropy()
1111{
1212 char tmp;
@@ -48,7 +48,7 @@ static int ensure_pool_initialized_poll()
4848int ensure_pool_initialized()
4949{
5050#ifdef HAVE_GETENTROPY
51−#ifndef !DO_NOT_USE_GET_ENTROPY
51+#ifndef DO_NOT_USE_GET_ENTROPY
5252 if (ensure_pool_initialized_getentropy() == 0)
5353 return 0;
5454#endif