On Tuesday 13 June 2006 21:25, David Gillingham wrote:
I'd like it to trigger the "Stunnel is down due to an error...Click OK to the see the error log window." message box and not accept connections.
exit() currently does it for you on Win32. In common.h you'll find: #define exit(c) exit_stunnel(c) Not really good style. I'm going to redesign this code one day.
I noticed that some of the other routines in ssl.c use sslerror(), but calling that caused a program crash.
Maybe that's because you're trying to use error strings before loading them with SSL_load_error_strings(). 8-)
Best regards, Mike