memory leak in ssl3_get_server_certificate?

2013-09-17 Thread Rajib Karmakar
Hi, I am using openssl and while running some tests with it, I see the memory usage of my application increasing when I open and close sessions - one at a time. After using valgrind I see a number of, Please note when I shutdown my application and do, I do not have any memory leaks. But I

Build error with openssl 1.0.1c for 64 bit

2012-09-27 Thread Rajib Karmakar
Hi, I am getting error while linking with 1.0.1c build for 64 bit platform. Here is what I did, 1. I build openssl as, ./Configure linux-generic64 --shared make build_libs 2. Then I tried to link my application with the library and it gives the following error,

Memory leak in x509_dup?

2012-01-23 Thread Rajib Karmakar
Hi, I am using x509_dup to create a duplicate certificate. Once I am done with my work, I use X509_free to free the duplicate certificate. But when I run my code with valgrind, it reports of some leaks. The following is the valgrind stack trace, ==3845== 408 (72 direct, 336 indirect) bytes

Memory leak in openssl

2012-01-18 Thread Rajib Karmakar
Hi, I am using openssl (v1.0.0.0e) for my application and when I run valgrind, it points to memory leaks at some openssl code. Is this really a leak present in openssl or I need to do something to remove this leak? The following is the valgrind dump, ==15790== 39,013 (1,288 direct, 37,725

How to create certificate store using DER and PKCS12 certificates

2011-11-10 Thread Rajib Karmakar
Hi, I am using OpenSSL version 1.0.0e and want to create a certificate store using DER and PKCS12 formatted certificates. I have to read and convert DER and PKCS12 certificates into X509 object and add them into X509_STORE. But if PEM, DER and PKCS12 certificates are stored in same path I have

RE: Cipher setting error: 'experimental'

2011-09-29 Thread Rajib Karmakar
Subject: RE: Cipher setting error: 'experimental' From: owner-openssl-us...@openssl.org On Behalf Of Rajib Karmakar Sent: Friday, 23 September, 2011 09:22 Thanks for spending some time for my issue. But, it seems that you have followed the same steps that I had used earlier

RE: Cipher setting error: 'experimental'

2011-09-23 Thread Rajib Karmakar
Of Rajib Karmakar Sent: Monday, 19 September, 2011 03:53 Thanks for your reply. I got the steps I mentioned after some googling. But those steps are not working. I understand you must be very busy, but I am stuck into there from then on. Can you please manage some time to look

RE: Cipher setting error: fixedDH and experiment EXP

2011-09-19 Thread Rajib Karmakar
Hi Dave, Thanks for your reply. I got the steps I mentioned after some googling. But those steps are not working. I understand you must be very busy, but I am stuck into there from then on. Can you please manage some time to look into it. Or if you know someone who can help me in this regard. It

Problem using EXPORT1024 ciphers

2011-09-13 Thread Rajib Karmakar
Hi, I am trying to use EXPORT1024 ciphers (e.g., EXP1024-RC4-SHA) in my application. But I am unable to set them in the client. The following is what I have done, 1. Downloaded openssl-1.0.0d 2. Modified ssl/tls1.h and changed the value of TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES

Re: Enable A Individual Cipher

2011-09-08 Thread Rajib Karmakar
Hi, I am trying to use the EXP1024-RC4-SHA cipher. But I am getting errors. The following is what I have done, 1. Dowloaded openssl-1.0.0d 2. Modified ssl/tls1.h and changed the value of TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES to 1 3. ./config enable-TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES 4. make

Using OpenSSL with non-blocking I/O

2011-05-06 Thread Rajib Karmakar
Hi, I am developing and application using OpenSSL. I have a proprietary system to handle connection/read data from sockets. All I need to do is to pass callback functions to the system to 1. Handle new connection 2. Read data on the given port Now while I use