I found my memory leak origin. I didn't free an X509 object when I called
SSL_get_peer_certificate function (missing X509_free() call). Hope it will be
useful for others
Cheers!!
From: hicham55...@hotmail.com
To: openssl-users@openssl.org
Subject: RE: Memory leak in ssl3_get_server_certificate
Well, I found out where it's defined. It's a MACRO definition (
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname ). I'm still investigating the leak
Regards
From: hicham55...@hotmail.com
To: openssl-users@openssl.org
Subject: Memory leak in ssl3_get_server_certificate
Date: Thu, 3 Apr 2014 14:4
Hello all,
I found a memory leak when using ssl_connect function. Bellow the valgrind
trace:
==12028== 37,600 (1,040 direct, 36,560 indirect) bytes in 10 blocks are
definitely lost in loss record 12 of 27
==12028==at 0x40053C0: malloc (vg_replace_malloc.c:149)
==12028==by 0x4185C8E:
ibrary:fopen:No such file or
directory:bss_file.c:349:fopen('cert.pem','r')
4793:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:351:
unable to load certificate
Thanks
Hicham
__
OpenSSL
oops sorry
it's sunshine clear : )
i've got a lazy keyboard
On 6/24/06, hicham <[EMAIL PROTECTED]> wrote:
Thanks all for the explanations
now, it's sunhine clear : )
hicham
_
Thanks all for the explanations
now, it's sunhine clear : )
hicham
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated
tal signature, Pat's
computes the message digest of the document and DECRYPT the signature
with Bob's public key !!!
I've understood that's only Bob's private key can decrypt any data ,
so what