aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--passgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/passgen.c b/passgen.c
index ff587fc..5837a72 100644
--- a/passgen.c
+++ b/passgen.c
@@ -67,7 +67,9 @@ bool init_rng(void)
))
return false;
#elif ! defined (USE_GETENTROPY) && ! defined (USE_WINCRYPT)
+#if (defined(__GNUC__) || defined(__clang__))
#pragma message "Using fallback insecure RNG seeding!"
+#endif
/*
* TODO: seed better RNG
* this isn't very good, but it's enough(?) for now