0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/mbedtls
James Yonan bbae814864
OpenSSL: added SNI implementation
On the server side, we add the abstract base class
SNIHandlerBase to provide a hook (sni_hello) where
servers can inspect the SNI name given in the client
hello message and possibly return a different SSLFactoryAPI.

In other changes, we rename the ENABLE_SNI flag to
ENABLE_CLIENT_SNI to be clear that this flag only affects
the client-side SNI implementation.

We also add the NO_VERIFY_HOSTNAME flag on the client side
to allow the SNI name to be transmitted to the server
without requiring a match between the SNI name and the
common name or subject alternative name in the server
certificate.

Signed-off-by: James Yonan <james@openvpn.net>
2019-06-19 18:21:00 +02:00
..
crypto [OVPN3-140] Update company names in copyrights 2017-12-22 17:59:39 +08:00
pki Fix multiple inclusion of OpenVPN3 header with OPENPVN_EXTERN 2018-07-05 15:38:48 +02:00
ssl OpenSSL: added SNI implementation 2019-06-19 18:21:00 +02:00
util ssl: add support for encoding/decoding PEM format 2018-12-06 09:19:21 +10:00