Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22369)
This commit is contained in:
Hugo Landau 2023-10-16 14:58:36 +01:00
parent 17b8f405a2
commit f92d4a07cc
1 changed files with 4 additions and 0 deletions

View File

@ -421,6 +421,10 @@ OSSL_DEMO_H3_CONN *OSSL_DEMO_H3_CONN_new_for_addr(SSL_CTX *ctx, const char *addr
if (SSL_set1_host(qconn, bare_hostname) <= 0)
goto err;
/* Configure SNI */
if (!SSL_set_tlsext_host_name(qconn, bare_hostname))
goto err;
conn = OSSL_DEMO_H3_CONN_new_for_conn(qconn_bio, callbacks,
settings, user_data);
if (conn == NULL)