On Wednesday 15 November 2006 16:30, joe@strout.net wrote:
That's good news! ...But, how do I use it (in daemon mode)? I tried launching stunnel with an encrypted key, and it simply failed saying that the pass phrase was wrong. But it never asked me for a pass phrase. How do I make it do so?
I confirm it's broken in stunnel 4.19. I'll fix it in 4.20. 4.18 works fine.
Best regards, Mike
On Wednesday 15 November 2006 19:42, Michal Trojnara wrote:
I confirm it's broken in stunnel 4.19. I'll fix it in 4.20. 4.18 works fine.
Fixed. Here is the patch:
--- ctx.c.orig 2006-11-15 19:47:20.000000000 +0100 +++ ctx.c 2006-11-15 19:47:39.000000000 +0100 @@ -337,7 +337,7 @@ #ifdef USE_WIN32 len=passwd_cb(buf, size, rwflag, userdata); #else - len=PEM_def_callback(buf, size, rwflag, userdata); + len=PEM_def_callback(buf, size, rwflag, NULL); #endif memcpy(cache, buf, size); /* save in cache */ cache_initialized=1;
Best regards, Mike