git.iko.soy/typeable/entropy
on main help sign in
fix macro name error
1045221daleiz
cbits/random_initialized.c+2−2
@@ -6,7 +6,7 @@
6#include <unistd.h>
6#include <unistd.h>
7
7
8#ifdef HAVE_GETENTROPY
8#ifdef HAVE_GETENTROPY
9−#ifndef !DO_NOT_USE_GET_ENTROPY
9+#ifndef DO_NOT_USE_GET_ENTROPY
10static int ensure_pool_initialized_getentropy()
10static int ensure_pool_initialized_getentropy()
11{
11{
12 char tmp;
12 char tmp;
@@ -48,7 +48,7 @@ static int ensure_pool_initialized_poll()
48int ensure_pool_initialized()
48int ensure_pool_initialized()
49{
49{
50#ifdef HAVE_GETENTROPY
50#ifdef HAVE_GETENTROPY
51−#ifndef !DO_NOT_USE_GET_ENTROPY
51+#ifndef DO_NOT_USE_GET_ENTROPY
52 if (ensure_pool_initialized_getentropy() == 0)
52 if (ensure_pool_initialized_getentropy() == 0)
53 return 0;
53 return 0;
54#endif
54#endif