]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls: pass on the right SNI name
authorDaniel Stenberg <daniel@haxx.se>
Sat, 22 Jan 2022 22:44:00 +0000 (23:44 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Jan 2022 07:36:10 +0000 (08:36 +0100)
commit2218c3a57e86c4ef68c5fa1e2f29e4a9a915d667
tree922c95a8bd3ab0b81c59f690444f5638f45b522a
parentb27ad8e1d3e68eb3214fcbb398ca436873aa7c67
vtls: pass on the right SNI name

The TLS backends convert the host name to SNI name and need to use that.
This involves cutting off any trailing dot and lowercasing.

Co-authored-by: Jay Satiro
Closes #8320
13 files changed:
lib/vtls/bearssl.c
lib/vtls/gskit.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/nss.c
lib/vtls/openssl.c
lib/vtls/rustls.c
lib/vtls/schannel.c
lib/vtls/schannel.h
lib/vtls/sectransp.c
lib/vtls/vtls.c
lib/vtls/vtls.h
lib/vtls/wolfssl.c