]> git.ipfire.org Git - thirdparty/openssl.git/commit
Test that SSL_get_servername returns what we expect
authorMatt Caswell <matt@openssl.org>
Thu, 26 Sep 2019 15:16:06 +0000 (16:16 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 30 Jan 2020 16:12:16 +0000 (16:12 +0000)
commitf6f81b2dbc802e41e792003512e7900628f7a7e8
tree85250ba7e7241d7a43938acacc781898d3d50ed6
parente9cd6e763c1dc036d5216ee0e200afa7ec26c60b
Test that SSL_get_servername returns what we expect

Test this on both the client and the server after a normal handshake,
and after a resumption handshake. We also test what happens if an
inconsistent SNI is set between the original handshake and the resumption
handshake. Finally all of this is also tested in TLSv1.2 and TLSv1.3.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/10018)

(cherry picked from commit 49ef3d0719f132629ab76d4bcb4ab0c1e016277a)
test/sslapitest.c