ssl - How to handle renegotiation in openssl (returned by SSL_read, SSL_write) -


i'm using openssl library on linux platform. according man page: renegotiation happen during ssl_read/write, user should repeat call same arguments. here scenario, right or wrong?

1: ssl_read returns ssl_want_write, call ssl_write write data (hoping ssl_write can finish handshake left ssl_read)

2: ssl_read(ssl, buf, size) returns ssl_want_write, call ssl_read(ssl, buf2, size2) (the buf arguments have been changed)

best regards


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -