From a027959a7fe49483acf86bd65d4266e3cbc4d0b0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 28 Jan 2021 13:17:25 +0000 Subject: Prepare for 2.4.1.0; add SSL_TLS_SNI_SERVERNAME --- src/sbearssl/sbearssl_send_environment.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sbearssl') diff --git a/src/sbearssl/sbearssl_send_environment.c b/src/sbearssl/sbearssl_send_environment.c index 3e1f1e1..2439351 100644 --- a/src/sbearssl/sbearssl_send_environment.c +++ b/src/sbearssl/sbearssl_send_environment.c @@ -25,6 +25,9 @@ int sbearssl_send_environment (br_ssl_engine_context *ctx, int fd) || buffer_put(&b, "", 1) < 0 || buffer_puts(&b, "SSL_CIPHER=") < 0 || buffer_puts(&b, suite) < 0 + || buffer_put(&b, "", 1) < 0 + || buffer_puts(&b, "SSL_TLS_SNI_SERVERNAME=") < 0 + || buffer_puts(&b, br_ssl_engine_get_server_name(ctx)) < 0 || buffer_putflush(&b, "\0", 2) < 0) return 0 ; return 1 ; -- cgit v1.2.3