From: hno <> Date: Mon, 3 Jul 2006 01:52:49 +0000 (+0000) Subject: Bug #1646: Memory corruption when using client-side SSL certificates X-Git-Tag: SQUID_3_0_PRE5~230 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6ceef10c26c42d0598ad474e0e300984c91930f;p=thirdparty%2Fsquid.git Bug #1646: Memory corruption when using client-side SSL certificates also fixed logging. --- diff --git a/src/ssl_support.cc b/src/ssl_support.cc index 8fc4305b5c..82b8ac5353 100644 --- a/src/ssl_support.cc +++ b/src/ssl_support.cc @@ -1,6 +1,6 @@ /* - * $Id: ssl_support.cc,v 1.33 2005/08/25 19:30:01 wessels Exp $ + * $Id: ssl_support.cc,v 1.34 2006/07/02 19:52:49 hno Exp $ * * AUTHOR: Benno Rice * DEBUG: section 83 SSL accelerator support @@ -955,8 +955,6 @@ sslGetUserAttribute(SSL * ssl, const char *attribute_name) X509_free(cert); - CRYPTO_free(name); - return ret; } @@ -981,15 +979,13 @@ sslGetCAAttribute(SSL * ssl, const char *attribute_name) X509_free(cert); - CRYPTO_free(name); - return ret; } const char * sslGetUserEmail(SSL * ssl) { - return sslGetUserAttribute(ssl, "Email"); + return sslGetUserAttribute(ssl, "emailAddress"); } const char *