Re: possible memleak

2012-02-18 Thread Botond Botyanszki
Hi, On Sat, 18 Feb 2012 12:47:34 +0800 (CST) "Ziyu Liu" wrote: > I think you may call the function [X509 *SSL_get_peer_certificate(const SSL > *s)] > to get a peer's certificate, but you have freed this certificate. > SSL_get_peer_certificate will increase the reference count of this > certific

possible memleak

2012-02-17 Thread Botond Botyanszki
Hi, I'm experiencing a memory leak in my server code using openssl 1.0.0g when a client with a self-signed cert tries to connect and is refused. Valgrind's massif traces this back to ssl3_get_client_certificate() at s3_srvr.c:2956, such as the following: | ->10.77% (4,116,792B) 0x5364BC3: asn1_it