On 2/15/19 2:47 AM, Bernd Edlinger wrote: > while (1) { > - n = extract_entropy_user(&blocking_pool, buf, nbytes); > + n = crng_ready() > + ? extract_entropy_user(&blocking_pool, buf, nbytes) > + : 0;
Aehm, the whitespace after ? does not align with :, didn't see that before. I wonder if it would be better style to use if (crng_ready()) n = extract...; else n = 0; Bernd.