<div dir="ltr">Cool!  Thanks for doing that :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 6:04 AM, Matt Caswell <span dir="ltr"><<a href="mailto:matt@openssl.org" target="_blank">matt@openssl.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<br>
On 05/12/15 09:42, Judson Wilson wrote:<br>
> I am noticing the following sequence of events:<br>
><br>
> 1) SSL_renegotiate(...), followed by SSL_write(..., 0) fails when a web<br>
> server rejects it by sending a TCP FIN<br>
> 2) SSL_get_error returns SSL_ERROR_SSL<br>
> 3) SSL_in_init(...) is true<br>
> 4) SSL_shutdown returns 1 <-- this seems strange.<br>
><br>
> I'm not sure that this is the right behavior.  Shutting down in a<br>
> handshake without sending/receiving close_notify shouldn't give the<br>
> "everything shutdown gracefully" signal. Perhaps it would be better to<br>
> return -1 and signal SSL_ERROR_SSL?<br>
<br>
</div></div>This is fixed now (in master and 1.0.2).<br>
<br>
Matt<br>
<br>
_______________________________________________<br>
openssl-dev mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-dev" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-dev</a><br>
</blockquote></div><br></div>