Re: Reusing a session? Example?

2012-04-22 Thread Stéphane Charette
to do session re-use on Linux and Windows: http://charette.no-ip.com:81/asio-openssl/ Stéphane Charette On Sun, Apr 22, 2012 at 10:40, Nathan Smyth naf...@ymail.com wrote: I have some (non-web) applications which open a number of SSL connections between each other. At the moment, a new SSL

Re: a question about openssl sessions

2012-04-21 Thread Stéphane Charette
On Thu, Apr 19, 2012 at 19:45, Dave Thompson dthomp...@prinpay.com wrote: From: owner-openssl-us...@openssl.org On Behalf Of Stéphane Charette Sent: Sunday, 15 April, 2012 20:31 I'm using Openssl to talk to a server that expects to re-use ssl sessions when a client

a question about openssl sessions

2012-04-15 Thread Stéphane Charette
to start the 2nd SSL session, here is how I get the session from the initial working connection: SSL_SESSION *savedSession = SSL_get1_session( ctrlSSL ); SSL_set_session( dataSSL, savedSession ); SSL_connect( dataSSL ); Please...any help would be greatly appreciated. Stéphane Charette

how do I re-use the ssl session?

2012-04-12 Thread Stéphane Charette
I'm trying to re-use the SSL session. Works on Linux + Windows, but it looks as if it still tries to perform a full handshake and hangs when the same code runs on a Mac. I'm doing this to the context prior to making connections: SSL_CTX_set_session_cache_mode( ctx, SSL_SESS_CACHE_BOTH

can SSL_SESSION be re-used between connections?

2012-04-08 Thread Stéphane Charette
I have a SSL connection to a server, and the same app wants to open a 2nd connection. Can I re-use the SSL_SESSION when setting up the 2nd connection? Do I need to explicitly do something so I can skip the call to SSL_do_handshake()? Thanks. Stéphane

how can I re-use ssl sessions?

2012-04-07 Thread Stéphane Charette
be greatly appreciated! Stéphane Charette