diff options
author | Emilia Kasper <emilia@openssl.org> | 2016-06-03 17:49:04 +0200 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2016-06-13 16:13:13 +0200 |
commit | 74726750ef041ba5fdf0516cbd060a202f7092c1 (patch) | |
tree | b136ba0cdd4e05abf40716a372fcdc03faaacebc /test/ssl_test_ctx_test.c | |
parent | 81fc33c951b645f31727dc811e02200bde4a0982 (diff) |
Port DTLS version negotiation tests
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/ssl_test_ctx_test.c')
-rw-r--r-- | test/ssl_test_ctx_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ssl_test_ctx_test.c b/test/ssl_test_ctx_test.c index 3f0101f836..9824d66956 100644 --- a/test/ssl_test_ctx_test.c +++ b/test/ssl_test_ctx_test.c @@ -156,6 +156,7 @@ static int test_good_configuration() fixture.expected_ctx->client_verify_callback = SSL_TEST_VERIFY_REJECT_ALL; fixture.expected_ctx->servername = SSL_TEST_SERVERNAME_SERVER2; fixture.expected_ctx->session_ticket_expected = SSL_TEST_SESSION_TICKET_YES; + fixture.expected_ctx->method = SSL_TEST_METHOD_DTLS; EXECUTE_SSL_TEST_CTX_TEST(); } @@ -167,6 +168,7 @@ static const char *bad_configurations[] = { "ssltest_unknown_verify_callback", "ssltest_unknown_servername", "ssltest_unknown_session_ticket_expected", + "ssltest_unknown_method", }; static int test_bad_configuration(int idx) |