Ensure s_client sends SNI data when used with -proxy
authorMatt Caswell <matt@openssl.org>
Thu, 9 Dec 2021 16:27:47 +0000 (16:27 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 29 Dec 2021 15:33:09 +0000 (15:33 +0000)
commitea24196ef224d3aa3aaecb8000004bb7a0a100a2
treeb19b5631f5921e04b790e4a83403f3d5c7f3edca
parentff7cdc15875293a330831a80d83edbafd25a9d36
Ensure s_client sends SNI data when used with -proxy

The use of -proxy prevented s_client from correctly sending the target
hostname as SNI data.

Fixes #17232

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17248)
apps/s_client.c