---------------------------- Original Message ---------------------------- Subject: Need help on NonBlock SSL Renegotiation From: "Gayathri Sundar" <[EMAIL PROTECTED]> Date: Thu, June 9, 2005 1:39 am To: 'openssl-users@openssl.org' --------------------------------------------------------------------------
Hi., Could someone please tell me whats wrong here, I am trying to do SSL_Renegotiation on non blocking sockets and the response from client is there in the TCP recv q, what function should I call to read that? I really dont have any clue asto whats missing here. tcp 86 0 rh.intotoind.com:https 192.168.5.54:2098 ESTABLISHED T_INT32 IGW_SSL_Start_Rehandshake(SSL *pSSL) { SSL_renegotiate(pSSL); SSL_do_handshake(pSSL); if(pSSL->state != SSL_ST_OK) { return T_FALSE; } pSSL->state |= SSL_ST_ACCEPT; SSL_do_handshake(pSSL); if(pSSL->state != SSL_ST_OK) { return T_FALSE; } return T_TRUE; } Thanks --Gayathri ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]