<p dir="ltr">Explain more</p>
<div class="gmail_quote">On Apr 3, 2016 2:59 AM, "Michael Kravchenko" <<a href="mailto:mkrav@yahoo-inc.com">mkrav@yahoo-inc.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div dir="ltr"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">Hi, </span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">(My question is regarding a problem I discovered while developing a DTLS client, but I'm not sure that it's specific to DTLS) </span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">What is the proper way to cancel a handshake process in the middle? I have a client working with non-blocking BIO, which performs a series of SSL_connect() calls to establish connection to the server. Let's say that during the handshake process, the client, for some reason, decides to abort it. Ideally, I'd like the server to receive an alert message indicating that the client will not be finishing the handshake. </span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">SSL_shutdown() cannot be used here, since it works only after the handshake. </span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">I cannot find any public API call that could be used in this situation. ssl3_send_alert() is not a public API call. </span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">Any ideas on what would be the best way to proceed in this situation? </span><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><br style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">Thanks </span><br></div></div></div><br>--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
<br></blockquote></div>