[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Fun with certificate authentication

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2002-08-05 10:49:26 CEST

Hi, thanks for looking in to this - I can respond to the rest later,
does this patch fix the crashes in SSL_free though?

Index: src/ne_session.c
===================================================================
RCS file: /home/cvs/neon/src/ne_session.c,v
retrieving revision 1.65
diff -u -r1.65 ne_session.c
--- src/ne_session.c 4 Aug 2002 18:11:15 -0000 1.65
+++ src/ne_session.c 5 Aug 2002 08:36:45 -0000
@@ -546,6 +546,8 @@
 
     if (sess->client_key && sess->client_cert) {
         NE_DEBUG(NE_DBG_HTTP, "Supplying client certificate.");
+ sess->client_cert->references++;
+ sess->client_key->references++;
         *cert = sess->client_cert;
         *pkey = sess->client_key;
         return 1;

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 5 10:50:27 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.