SSL test framework: port SNI tests
authorEmilia Kasper <emilia@openssl.org>
Mon, 20 Jun 2016 15:20:25 +0000 (17:20 +0200)
committerEmilia Kasper <emilia@openssl.org>
Tue, 28 Jun 2016 15:26:24 +0000 (17:26 +0200)
Observe that the old tests were partly ill-defined:
setting sn_server1 but not sn_server2 in ssltest_old.c does not enable
the SNI callback.

Fix this, and also explicitly test both flavours of SNI mismatch (ignore
/ fatal alert). Tests still pass.

Reviewed-by: Rich Salz <rsalz@openssl.org>

No differences found