Re: SSL_CTX_use_certificate_chain_file failure

2007-08-31 Thread Prabhu S
Hi, I am seeing a similar case as addressed in this mail. Here is the extract of the message I posted earlier: The client application spawns one thread for each connection with the server. Each thread is having its own SSL_CTX* object. When 100 connections are to be made, once the SSL library in

Re: leaking ?

2007-08-31 Thread jimmy bahuleyan
kris vandercapellen wrote: Hi, I have been working on a httpsd for the past week. It does the following : StartupThreads are getting a incomming connection, create a SSL_new(ctx), create a BIO_new(BIO_s_socket()), BIO_set_fd, and SSL_set_bio. Then they SSL_accept(ssl), and SSL_read

Re: leaking ?

2007-08-31 Thread kris vandercapellen
Doesn't help much ( SSL_CTX_flush_sessions() ) after the weekend i'm gonna valgrind on it a bit. Thanks for trying !! On 8/31/07, jimmy bahuleyan [EMAIL PROTECTED] wrote: kris vandercapellen wrote: Hi, I have been working on a httpsd for the past week. It does the following :

Short question about freeing memory

2007-08-31 Thread Martin Salo
Hello Mailinglist, I have a RSA key written to memory. How can I free the memory? oBIO = BIO_new(BIO_s_mem()); PEM_write_bio_RSAPrivateKey(oBIO, oRsaKey, 0, 0, 0, 0, 0); char *cMem; iBytesWritten = BIO_get_mem_data(oBIO, cMem); cMem[iBytesWritten] = '\0'; // How can I free cMem?

Re: leaking ?

2007-08-31 Thread Marek Marcola
Hello, StartupThreads are getting a incomming connection, create a SSL_new(ctx), create a BIO_new(BIO_s_socket()), BIO_set_fd, and SSL_set_bio. Then they SSL_accept(ssl), and SSL_read what is comming in. So far so good. When the input is something this httpsd should react to, i put a

Re: Short question about freeing memory

2007-08-31 Thread Thomas J. Hruska
Martin Salo wrote: Hello Mailinglist, I have a RSA key written to memory. How can I free the memory? oBIO = BIO_new(BIO_s_mem()); PEM_write_bio_RSAPrivateKey(oBIO, oRsaKey, 0, 0, 0, 0, 0); char *cMem; iBytesWritten = BIO_get_mem_data(oBIO, cMem); cMem[iBytesWritten] = '\0'; // How can I

Thanks a lot :) (No text)

2007-08-31 Thread Martin Salo
abc -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger __ OpenSSL Project http://www.openssl.org User Support Mailing List

Re: SSL_CTX_use_certificate_chain_file failure

2007-08-31 Thread Victor Duchovni
On Fri, Aug 31, 2007 at 04:26:07AM -0500, Prabhu S wrote: Hi, I am seeing a similar case as addressed in this mail. Here is the extract of the message I posted earlier: The client application spawns one thread for each connection with the server. Each thread is having its own SSL_CTX*

Re: Encrypted page sending data through unencrypted connection?

2007-08-31 Thread Bruce Stephens
Marcelo de Moraes Serpa [EMAIL PROTECTED] writes: [...] Does that mean that the developer made the link to the create account page via HTTPS (not important at all) and then forgot the really relevant part, which is to send the html form contents via HTTPS? Yes.

Encrypted page sending data through unencrypted connection?

2007-08-31 Thread Marcelo de Moraes Serpa
Hello list, I'm pretty new to Secure Sockets Layer and Secure HTTP, still breaking my head and learning new (and interesting stuff) all the time. While I was creating my user account in OSCommerce-based website, when I finally clicked to submit the form, I was faced with the following FireFox