[[EMAIL PROTECTED] - Tue Jan 28 11:07:34 2003]: > And (while i'm at it) another thing to mention:
While we're mentioning stuff, I'd like to mention that we can handle bug reports much better if there's only *one* bug per report. Please keep that in mind in the future. > I'm using openssl with stunnel. > When i'm running stunnel as a service, RAND_poll in rand_win.c can't > work, as > it needs features not available under the SYSTEM account without a > user logged in > (i.e. the UI features) so it dropped all the stuff except for the > CryptAcquireContext when > building the "service version". Although i'm totally dependent on MS- > randomness now, > everything works fine when runing as service now. OK, does anyone know a good way to detect (in run-time!) when the program is running as a service? If there's a way, the rest should be easy. > And yet another thing: > Usage of RAND_file_name() isn't working for a service-app with no > logged-on user, too, > when no filename is specified. After trying to get a filename from the > environment > (where none is defined), filename is filled with rubbish > (could be that the environment is rubbish, or the OS...). > So i don't use that under Win32 either. Interesting. Do you have an example of the rubbish? From what I can see, if the environment variables RANDFILE and HOME aren't defined, the result should be "C:/.rnd". -- Richard Levitte ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]