From: Jeffrey Altman <[EMAIL PROTECTED]>
jaltman> But once again Peter Gutmann tells us what to do. On NT he suggests
jaltman> using the NetAPI32 library.
jaltman>
jaltman> LPBYTE outbuf;
jaltman> if (NetStatisticsGet( NULL, SERVICE_WORKSTATION, 0, 0, &outbuf) == 0) {
jaltman> RAND_add( outbuf, sizeof(STAT_WORKSTATION_0), 0);
jaltman> NetApiBufferFree(outbuf);
jaltman> }
jaltman> if (NetStatisticsGet( NULL, SERVICE_SERVER, 0, 0, &outbuf) == 0) {
jaltman> RAND_add( outbuf, sizeof(STAT_SERVER_0), 0);
jaltman> NetApiBufferFree(outbuf);
jaltman> }
jaltman>
jaltman> and reading system performance statistics from the registry.
jaltman>
jaltman> ReqQueryValueEx( HKEY_PERFORMANCE_DATA, "Global", NULL, NULL,
jaltman> buffer, &length);
jaltman> RAND_add( buffer, length, 0);
Would you be willing to produce a patch? Can't promise that it will
go into the release, but surely shortly after.
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
Re: RAND_poll() on NT was Re: Beta1 fail on cygwin32/mingw32 on NT4
Richard Levitte - VMS Whacker Thu, 14 Sep 2000 09:08:07 -0700
- RAND_poll() on NT was Re: Beta1 fail on cygw... Jeffrey Altman
- Richard Levitte - VMS Whacker
