[stunnel-users] No way to keep the key encrypted?
Michal Trojnara
Michal.Trojnara at mobi-com.net
Wed Nov 15 19:55:02 CET 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20061115/da4091db/attachment.sig>
More information about the stunnel-users
mailing list