]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: lowercase the hostname before using it for SNI
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Jan 2021 19:16:55 +0000 (20:16 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 29 Jan 2021 09:40:01 +0000 (10:40 +0100)
commit60de76e2ada650c5f87de3760771089f466a6b8a
treed758616ef7b7413c60fe97533d6542ec8e050f05
parent36ef64841d5ee4071af805a83096c06036c8433f
openssl: lowercase the hostname before using it for SNI

... because it turns out several servers out there don't actually behave
correctly otherwise in spite of the fact that the SNI field is
specifically said to be case insensitive in RFC 6066 section 3.

Reported-by: David Earl
Fixes #6540
Closes #6543
lib/vtls/openssl.c