diff options
author | Ingela Anderton Andin <[email protected]> | 2016-03-24 17:08:44 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2016-05-03 13:46:50 +0200 |
commit | 67de1ba82d1af910dc6ab6d41a1f22dbfb39f658 (patch) | |
tree | d5e60bb5228d1784b22a33b4980959cba0281368 /lib/ssl/test/ssl_certificate_verify_SUITE.erl | |
parent | 94e70f82df417d9e673a13d101007d7ae8932df7 (diff) | |
download | otp-67de1ba82d1af910dc6ab6d41a1f22dbfb39f658.tar.gz otp-67de1ba82d1af910dc6ab6d41a1f22dbfb39f658.tar.bz2 otp-67de1ba82d1af910dc6ab6d41a1f22dbfb39f658.zip |
ssl: Use gen_statem instead of gen_fsm
Also reduce timing issues in tests
Diffstat (limited to 'lib/ssl/test/ssl_certificate_verify_SUITE.erl')
-rw-r--r-- | lib/ssl/test/ssl_certificate_verify_SUITE.erl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_certificate_verify_SUITE.erl b/lib/ssl/test/ssl_certificate_verify_SUITE.erl index 66ccbb1da4..1ce6f3b567 100644 --- a/lib/ssl/test/ssl_certificate_verify_SUITE.erl +++ b/lib/ssl/test/ssl_certificate_verify_SUITE.erl @@ -110,6 +110,17 @@ init_per_group(_, Config) -> end_per_group(_GroupName, Config) -> Config. +init_per_testcase(TestCase, Config) when TestCase == cert_expired; + TestCase == invalid_signature_client; + TestCase == invalid_signature_server; + TestCase == extended_key_usage_verify_none; + TestCase == extended_key_usage_verify_peer; + TestCase == critical_extension_verify_none; + TestCase == critical_extension_verify_peer; + TestCase == no_authority_key_identifier; + TestCase == no_authority_key_identifier_and_nonstandard_encoding-> + ssl:clear_pem_cache(), + init_per_testcase(common, Config); init_per_testcase(_TestCase, Config) -> ct:log("TLS/SSL version ~p~n ", [tls_record:supported_protocol_versions()]), ct:timetrap({seconds, 5}), |