bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Use of 'ssl_st'


From: Tim Ruehsen
Subject: Re: [Bug-wget] Use of 'ssl_st'
Date: Tue, 10 Feb 2015 10:06:56 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

Thanks for your patch, Gisle.

It is pushed.

Tim

On Friday 06 February 2015 09:49:57 Tim Ruehsen wrote:
> 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

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]