Yes, this is an intentional design feature: fail fast if there is no entropy.
I'm looking at your other patches and testing with mingw 3.1.0, but am having to fix a number of minor build failures. Out of curiosity, what version are you testing against? On Tue, Nov 11, 2014 at 8:07 AM, Dongsheng Song <[email protected]> wrote: > On Tue, Nov 11, 2014 at 9:56 PM, Brent Cook <[email protected]> wrote: >> Mystery solved! > > This patch fixed the exited immediately issue. > When getentropy failed, LibReSSL will call _getentropy_fail, it call > TerminateProcess(GetCurrentProcess(), 0) to exit.
