Re: [PATCH v2] Allow use of TLS 1.3
- From
Loganaden Velvindron <logan@hackers.mu>
- Date
- Mar 24, 2018, 05:43 UTC
- Message-ID
- <CAFDEUTfxnJdVunuEJ9VWPy_T4yByv3cCGZZbW7iDfoq3kYy17Q@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.2.20.1803232246020.16250@tvnag.unkk.fr>
On Sat, Mar 24, 2018 at 1:47 AM, Daniel Stenberg <daniel@haxx.se> wrote:
Show 13 quoted lines
> On Fri, 23 Mar 2018, Loganaden Velvindron wrote:
>
>> +#ifdef CURL_SSLVERSION_TLSv1_3
>> + { "tlsv1.3", CURL_SSLVERSION_TLSv1_3 }
>> +#endif
>
>
> Unfortunately, CURL_SSLVERSION_TLSv1_3 is an enum so this construct won't
> work.
>
> Also, let me just point out that 7.52.0 is 0x073400 in hex and not the one
> used for the first version of this patch.
>Here's the error i get when I use a recent libcurl, but the OpenSSL wasn't built with tls 1.3:
using : GIT_SSL_VERSION=tlsv1.3
Error: OpenSSL was built without TLS 1.3 support
> -- > > / daniel.haxx.se