git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] Allow use of TLS 1.3

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Mar 23, 2018, 22:28 UTC
Message-ID
<87h8p6xw7t.fsf@evledraar.gmail.com>
In-Reply-To
<xmqqy3iih2xi.fsf@gitster-ct.c.googlers.com>
On Fri, Mar 23 2018, Junio C. Hamano wrote:
Show 18 quoted lines
>> @@ -62,6 +62,9 @@ static struct {
>>  	{ "tlsv1.1", CURL_SSLVERSION_TLSv1_1 },
>>  	{ "tlsv1.2", CURL_SSLVERSION_TLSv1_2 },
>>  #endif
>> +#ifdef CURL_SSLVERSION_TLSv1_3
>> +	{ "tlsv1.3", CURL_SSLVERSION_TLSv1_3 }
>> +#endif
>>  };
>
> It seems to me that
>
>     https://github.com/curl/curl/blob/master/include/curl/curl.h#L1956
>
> tells me that this #ifdef would not work.  Did you test it with the
> "test not version but feature" change you made at the last minute?
>
> I know it is not your fault but is Ævar's, but you're responsible
> for double-checking what you are told on the internet ;-)

Yeah I should add some "I haven't actually tried this, but what do you think about this?" disclaimer.

But it's not a good sign that we have a v2 with an ifdef that'll never be true, indicating that it wasn't tested against TLSv1.3. Is there some way we could check for this in our test suite?

Previous: Junio C HamanoNext: Loganaden Velvindron
Message 9 of 10 in “Allow use of TLS 1.3”
  1. Allow use of TLS 1.3Loganaden Velvindron, Mar 23, 2018
  2. Daniel StenbergMar 23, 2018
  3. Junio C HamanoMar 23, 2018
  4. Loganaden VelvindronMar 24, 2018
  5. Loganaden VelvindronMar 24, 2018
  6. Loganaden VelvindronMar 24, 2018
  7. Loganaden VelvindronMar 24, 2018
  8. Junio C HamanoMar 23, 2018
  9. Ævar Arnfjörð BjarmasonMar 23, 2018
  10. Loganaden VelvindronMar 24, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.