On Thursday 05 February 2015 17:23:45 Gisle Vanem wrote:
> > luck. In fact it crashes pretty bad. So I don't feel qualified for
> > this job.
>
> Except for this patch that works here. Not sure when SSL_state()
> was introduced:
>
> --- a/openssl.c 2015-02-05 15:31:22 +0000
> +++ b/openssl.c 2015-02-05 17:16:43 +0000
> @@ -545,7 +545,7 @@
> DEBUGP (("SSL handshake timed out.\n"));
> goto timeout;
> }
> - if (scwt_ctx.result <= 0 || conn->state != SSL_ST_OK)
> + if (scwt_ctx.result <= 0 || SSL_state(conn) != SSL_ST_OK)
> goto error;
>
> ctx = xnew0 (struct openssl_transport_context);Thank you, that seems much better. I found posts mentioning SSL_state() in 2005. I guess, it exists even longer. I put this mail onto the mailing list, where it belongs (I hope you don't mind). Tim
signature.asc
Description: This is a digitally signed message part.
