Add ssl_ctx_test to test suite.
authorRich Salz <rsalz@akamai.com>
Sat, 2 Nov 2019 17:02:37 +0000 (13:02 -0400)
committerTomas Mraz <tmraz@fedoraproject.org>
Fri, 8 Nov 2019 07:23:15 +0000 (08:23 +0100)
commit310553591cd8fe7ea5f223b9cc41a283f8e6cbf6
tree8a923d8fc1519afef82a91aa23f0d15e964a88b2
parenteb173822b2c02122844f4ffe89e38fe8e6d04697
Add ssl_ctx_test to test suite.

Also fix the test as min version > max version is allowed because
the API calls to set min and max versions are separate and there
can be legitimately a temporary situation when the condition is
true even with correctly working application.

The failure in this condition will be detected only during
a handshake attempt.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10337)
test/recipes/71-test_ssl_ctx.t [new file with mode: 0644]
test/ssl_ctx_test.c