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