SSL test: only write out server2 when testing SNI
authorEmilia Kasper <emilia@openssl.org>
Mon, 13 Jun 2016 15:46:12 +0000 (17:46 +0200)
committerEmilia Kasper <emilia@openssl.org>
Mon, 13 Jun 2016 16:31:33 +0000 (18:31 +0200)
commitb02929802c1fc47daf268ec208ee113dcce3ed32
tree6bf4fae4fd03c5bffffe9b94167416b0b66302ca
parent25b9d11c002e5c71840c2a6733c5009d78f2c9db
SSL test: only write out server2 when testing SNI

The SNI tests introduced a redundant "server2" section into every test
configuration. Copy this automatically from "server" unless testing SNI,
to reduce noise in the generated confs.

Also remove duplicate SSL_TEST_CTX_create (merge conflict error).

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/generate_ssl_tests.pl
test/ssl-tests/01-simple.conf
test/ssl-tests/02-protocol-version.conf
test/ssl-tests/03-custom_verify.conf
test/ssl-tests/04-client_auth.conf
test/ssl-tests/05-sni.conf
test/ssl-tests/05-sni.conf.in
test/ssl-tests/06-sni-ticket.conf
test/ssl-tests/07-dtls-protocol-version.conf
test/ssl_test.c
test/ssl_test.tmpl