Commit 173609d6 authored by Committed by David Woodhouse
Advertise the hostname we connect using SNI.
This would provide the server with more information on the connection that can be used to distinguish between different servers (https and vpn), or even different vpn server configurations. It is conditionally enabled when compiled with gnutls 3.2.9 or later where the %COMPAT keyword ensures that the client hello size is outside the F5 firewall black hole range. [dwmw2: Make string_is_hostname() accept NULL, cosmetic changes] Signed-off-by: Nikos Mavrogiannopoulos <firstname.lastname@example.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Showing with 34 additions and 0 deletions