Re: [Botan-devel] compiling botan on cygwin linking with windows libraries instead cygwin
Brought to you by:
randombit
|
From: Jack L. <ll...@ra...> - 2004-05-22 19:08:22
|
On Sat, May 22, 2004 at 12:32:56PM -0600, Carathimas, Anthony G wrote: > I believe I am using the newest version of cygwin which has: > gcc version 3.3.1 > > your sample program returned: > > 1024 1024 Hmmm, that's rather disturbing then. Why would it be failing inside the library? ... > > but Botan using /dev/urandom represents another problem for me because I > want my program to not require cygwin being installed. It doesn't. If it's not running under Cygwin, it will attempt to open /dev/urandom, which will fail, and then attempt to get entropy from the next entropy source on the list (probably the CryptoAPI one). As long as it can find some entropy somewhere, it's happy. Jack |