Not all of the methods used in crypto/rand/rand_win.c to extract entropy from the system are safe to use under all circumstances. You are going to have to hack the code to disable the calls that do not return under your locked process.
> I have a dll development that lock the process execution, > this is a background process that load this dll and use > SSL to encrypt/Decrypt files. > > The problem is in this lines: > > srand(time(NULL)); > > do { > r = rand(); > RAND_seed(&r, sizeof(int)); > } while(0 == RAND_status()); > > The thread is never returning when execute RAND_status > function. > > I tried executing this DLL from a custom program and work > well, It only fail when the execution is under background > process. > > > Please I haven’t clues about what is going on, I > appreciate any help. > > > Thank, > David Pineda > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!! The Kermit Project @ Columbia University SSH, Secure Telnet, Secure FTP, HTTP http://www.kermit-project.org/ Secured with MIT Kerberos, SRP, and [EMAIL PROTECTED] OpenSSL. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]