提交 6bd3379a 编写于 作者: E Emilia Kasper

SSL test ctx: fix tests

Some failure tests were failing for the wrong reason after the CTX
refactoring. Update those tests.
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 eb633d03
...@@ -264,6 +264,7 @@ static int test_good_configuration() ...@@ -264,6 +264,7 @@ static int test_good_configuration()
static const char *bad_configurations[] = { static const char *bad_configurations[] = {
"ssltest_unknown_option", "ssltest_unknown_option",
"ssltest_wrong_section",
"ssltest_unknown_expected_result", "ssltest_unknown_expected_result",
"ssltest_unknown_alert", "ssltest_unknown_alert",
"ssltest_unknown_protocol", "ssltest_unknown_protocol",
......
...@@ -30,22 +30,37 @@ ALPNProtocols = baz ...@@ -30,22 +30,37 @@ ALPNProtocols = baz
[ssltest_unknown_option] [ssltest_unknown_option]
UnknownOption = Foo UnknownOption = Foo
[ssltest_wrong_section]
server = ssltest_wrong_section_server
[ssltest_wrong_section_server]
VerifyCallback = RejectAll
[ssltest_unknown_expected_result] [ssltest_unknown_expected_result]
ExpectedResult = Foo ExpectedResult = Foo
[ssltest_unknown_alert] [ssltest_unknown_alert]
ServerAlert = Foo ExpectedServerAlert = Foo
[ssltest_unknown_protocol] [ssltest_unknown_protocol]
Protocol = Foo Protocol = Foo
[ssltest_unknown_verify_callback] [ssltest_unknown_verify_callback]
ClientVerifyCallback = Foo client = ssltest_unknown_verify_callback_client
[ssltest_unknown_verify_callback_client]
VerifyCallback = Foo
[ssltest_unknown_servername] [ssltest_unknown_servername]
client = ssltest_unknown_servername_client
[ssltest_unknown_servername_client]
ServerName = Foo ServerName = Foo
[ssltest_unknown_servername_callback] [ssltest_unknown_servername_callback]
server = ssltest_unknown_servername_server
[ssltest_unknown_servername_server]
ServerNameCallback = Foo ServerNameCallback = Foo
[ssltest_unknown_session_ticket_expected] [ssltest_unknown_session_ticket_expected]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册