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