[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Backport patches for a possible 0.0.3.1



Update of /home/minion/cvsroot/src/minion/src
In directory moria.mit.edu:/tmp/cvs-serv20572/src

Modified Files:
      Tag: mixminion-v0-0-3-patches
	tls.c 
Log Message:
Backport patches for a possible 0.0.3.1

Index: tls.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/tls.c,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -d -r1.18 -r1.18.2.1
--- tls.c	20 Feb 2003 16:57:40 -0000	1.18
+++ tls.c	9 Apr 2003 22:38:09 -0000	1.18.2.1
@@ -144,6 +144,8 @@
         if (!err && certfile &&
             !SSL_CTX_use_certificate_file(ctx,certfile,SSL_FILETYPE_PEM))
                 err = 1;
+        if (!err)
+                SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF);
         if (!err && rsa) {
                 if (!(_rsa = RSAPrivateKey_dup(rsa->rsa)) ||
                     !(pkey = EVP_PKEY_new()))