RE: Memory leak in ssl3_get_server_certificate

2014-04-04 Thread hicham h
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

RE: Memory leak in ssl3_get_server_certificate

2014-04-03 Thread hicham h
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

Memory leak in ssl3_get_server_certificate

2014-04-03 Thread hicham h
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:

openssl verify mycert.pem

2006-07-07 Thread hicham
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

Re: confusion about digital signatures

2006-06-24 Thread hicham
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 _

Re: confusion about digital signatures

2006-06-24 Thread 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

confusion about digital signatures

2006-06-23 Thread hicham
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