Re: [Botan-devel] Re: compiling botan on cygwin linking with windows libraries inst ead cygwin
Brought to you by:
randombit
|
From: Jack L. <ll...@ra...> - 2004-05-23 14:22:46
|
On Sat, May 22, 2004 at 06:11:15PM -0600, Carathimas, Anthony G wrote: > Actually your test program doesn't work when I compile with -mno-cygwin > param., it's results are: > > g++ -mno-cygwin test.cpp -o test > ./test > 0 0 > > So I guess I need a way to compile botan with out using /dev/urandom. No, this is what would be expected - without Cygwin, no /dev/urandom, so the read fails, so it then Botan will continue down the list trying other entropy sources. Based on your report of the crash in Botan when reading /dev/urandom through an ifstream, I would have expected that test.cpp would result in a crash as well. The fact that it doesn't is rather worrisome. -J |