Re: [Fwd: Re: SSL_renegotiation using non block sockets]

2005-06-03 Thread Lokesh Kumar
handshake. Once you are through with Handshake, you may use SSL_read/SSL_write for application communication. -Lokesh. On 6/2/05, Gayathri Sundar [EMAIL PROTECTED] wrote: Original Message Subject: Re: SSL_renegotiation using non block

RE: SSL_renegotiation using non block sockets

2005-06-02 Thread Pj
Hi I did the same thing yesterday myself but because I wanted to implement a timeout solution as well as quick shutdown of my COM object via object notification. You might be able to hack my work ... this is what I came up with... It takes a blocking socket, makes it un-blocking... negotiates

RE: SSL_renegotiation using non block sockets

2005-06-02 Thread gsundar
Thanks pj, the code was real helpful. Just one minor clarification, once a call to SSL_renegotiate is made, should I check the protocol status by calling SSL_accept (mine is server) within the while loop you have? I have gone into an accept_pending state and calling SSL_accept until it returns

Re: SSL_renegotiation using non block sockets

2005-06-02 Thread Lokesh Kumar
HI, SSL_accept/SSL_connect is something that we use to establish an initial SSL connection and we use SSL-renegotiate/SSL_do_handshake based on timers we install for SSL for re-negotiating KEYs such that hacking the SSL connection is robust. Having said that.. I assume you already have an SSL

[Fwd: Re: SSL_renegotiation using non block sockets]

2005-06-02 Thread Gayathri Sundar
Original Message Subject: Re: SSL_renegotiation using non block sockets From:[EMAIL PROTECTED] Date:Thu, June 2, 2005 8:41 pm -- HI Lokesh., Thanks