<div dir="ltr"><span style="font-size:12.8px">I have seen several sources suggest that the following psuedo code procedure should force a renegotiation before proceeding:</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">SSL_renegotiate(...);<br>while(SSL_renegotation_pending(...))<br>    SSL_do_handshake(...);</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am using non-blocking I/O, and have ommitted error handling and any lower-level I/O management from this example.<br><br>Calling this from the server, I see a Hello Request sent from the server to the client, and a Client Hello sent from the client to the server. Then nothing happens; the server does not respond.<br><br>I believe that SSL_do_handshake does nothing to handle the actual handshake in this scenario. The code appears to be stuck in the loop.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">What is the actual sequence of events, from an API user perspective, that should result in a successful renegotiation?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have a theory, but I'd like some untainted feedback. :)<br><br>Thanks</div></div>