Here is another interesting one,


What I mean by a null write is allow the write machinery to flush and emit outstanding data or deal with renegotiation requests that need write operations to be performed but I wont want to send any new application data ?


The man page for SSL_write() specifically forbid calling SSL_write(ssl, emptybuffer, 0).

"When calling SSL_write() with num=0 bytes to be sent the behaviour is undefined."


There is the SSL_do_handshake() I read this to perform whatever operation is required read or write to complete a handshake. Would this be able to fit the bill of allowing the write machinery to be serviced without having to provide new application level data ?


Darryl

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to