chiark / gitweb /
Use new Catacomb `rand_quick' to gather entropy from other fast sources.
[tripe] / server / tripe.h
index 9e298c806f6749f6a0c076e92351953d09193e9f..a967ae6d778b56d93d2c0f23c86ea62089d5107a 100644 (file)
@@ -576,7 +576,8 @@ extern unsigned tr_flags;           /* Trace options flags */
 
 /*----- Other macros ------------------------------------------------------*/
 
-#define QUICKRAND noise_timer(RAND_GLOBAL)
+#define QUICKRAND                                                      \
+  do { rand_quick(RAND_GLOBAL); noise_timer(RAND_GLOBAL); } while (0)
 
 /*----- Key management ----------------------------------------------------*/