mturk 2005/06/07 02:01:00
Modified: jni/native/src sslcontext.c
Log:
Provide context to the password callback.
Revision Changes Path
1.24 +2 -1 jakarta-tomcat-connectors/jni/native/src/sslcontext.c
Index: sslcontext.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/sslcontext.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- sslcontext.c 7 Jun 2005 08:18:23 -0000 1.23
+++ sslcontext.c 7 Jun 2005 09:01:00 -0000 1.24
@@ -123,6 +123,7 @@
c->ctx = ctx;
c->pool = p;
c->bio_os = BIO_new(BIO_s_file());
+ c->password.ctx = c;
if (c->bio_os != NULL)
BIO_set_fp(c->bio_os, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
SSL_CTX_set_options(c->ctx, SSL_OP_ALL);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]