bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] TLSv1.1+ and OpenSSL 1.0.0*


From: Tim Ruehsen
Subject: Re: [Bug-wget] TLSv1.1+ and OpenSSL 1.0.0*
Date: Mon, 10 Nov 2014 15:59:32 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

On Monday 10 November 2014 13:12:08 Velemas Vosak wrote:
> Hello,
>
> I'm trying to build wget 1.16 with OpenSSL 1.0.0o but I got undefined
> symbols:
>
> TLSv1_1_client_method
> TLSv1_2_client_method
>
> The culprit is in src/openssl.c in incorrect version number:
>
> #if OPENSSL_VERSION_NUMBER >= 0x*01*001000
>     case secure_protocol_tlsv1_1:
>       meth = TLSv1_1_client_method ();
>       break;
>     case secure_protocol_tlsv1_2:
>       meth = TLSv1_2_client_method ();
>       break;
> #endif
>
> OpenSSL 1.0.1o
> #define OPENSSL_VERSION_NUMBER       0x*10*0000ffL
>
> OpenSSL 1.0.1j
> #define OPENSSL_VERSION_NUMBER  0x*10*0010afL
>
> According to the OpenSSL changelog TLSv1.1+ is added only starting 1.0.1.

Thanks for the report.

Please test the attached patch and tell if this is working for you.

Tim

Attachment: 0001-Fix-OpenSSL-compile-time-check-for-TLSv1.1-and-TLSv1.patch
Description: Text Data

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


reply via email to

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