On Fri, 13 Jan 2017 20:02, wea...@debian.org said:

> I suspect the callback shouldn't try to sleep if the entropy is being
> read from a non-blocking source, or maybe the callback shouldn't be

The sleeping is done to reqlinguish control to other threads.  Libgcrypt
1.7 unfortunately needs to resort to the progress callback to do that.

Changing the sleep amount to 0 or better by replacing the sleep call
with gpgrt_yield () should be sufficient.


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

Attachment: pgpLBDX1RBox7.pgp
Description: PGP signature

Reply via email to