<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">> You can't connect the server SSL handle and client SSL handle to the<br>> same bio pair.  They each need their own, and you'll need a loop copying<br>> data between them.<br></div><div>My naming must be poor because I <i>should</i> be doing this already.</div><div><br></div><div>I've updated the error string printing and it seems like there's no common cipher</div><div>between the client and the server.</div><div><br></div><div>Here's an updated Compiler Explorer link that should demonstrate the issue:</div><div><a href="https://godbolt.org/z/KejG9e3hG">https://godbolt.org/z/KejG9e3hG</a><br></div><div><br></div><div>> I am manually handling the SSL_accept() for the server with state<br>> tracking though, with similar error checking & handling. I left some<br>> references to my internal data structures and functions in and hope they<br>> are self explaining.<br></div><div><br></div><div>Heh, are you able to link to the code so I can take a look? It seems hard to find</div><div>examples of manually using BIO pairs like this.</div><div><br></div><div>- Christian</div></div></div></div>