diff options
Diffstat (limited to 'test/ssl-tests/16-dtls-certstatus.cnf.in')
-rw-r--r-- | test/ssl-tests/16-dtls-certstatus.cnf.in | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/test/ssl-tests/16-dtls-certstatus.cnf.in b/test/ssl-tests/16-dtls-certstatus.cnf.in index c5545991d2..ebab3d7ca2 100644 --- a/test/ssl-tests/16-dtls-certstatus.cnf.in +++ b/test/ssl-tests/16-dtls-certstatus.cnf.in @@ -15,15 +15,22 @@ use warnings; package ssltests; use OpenSSL::Test::Utils; -our @tests = ( +our $fips_mode; + +our @tests = (); + +our @tests_standard = ( { name => "certstatus-good", server => { + "CipherString" => "DEFAULT:\@SECLEVEL=0", extra => { - "CertStatus" => "GoodResponse", + "CertStatus" => "GoodResponse" }, }, - client => {}, + client => { + "CipherString" => "DEFAULT:\@SECLEVEL=0", + }, test => { "Method" => "DTLS", "ExpectedResult" => "Success" @@ -32,11 +39,14 @@ our @tests = ( { name => "certstatus-bad", server => { + "CipherString" => "DEFAULT:\@SECLEVEL=0", extra => { "CertStatus" => "BadResponse", }, }, - client => {}, + client => { + "CipherString" => "DEFAULT:\@SECLEVEL=0", + }, test => { "Method" => "DTLS", "ExpectedResult" => "ClientFail" @@ -48,11 +58,14 @@ our @tests_sctp = ( { name => "certstatus-good", server => { + "CipherString" => "DEFAULT:\@SECLEVEL=0", extra => { "CertStatus" => "GoodResponse", }, }, - client => {}, + client => { + "CipherString" => "DEFAULT:\@SECLEVEL=0", + }, test => { "Method" => "DTLS", "UseSCTP" => "Yes", @@ -62,11 +75,14 @@ our @tests_sctp = ( { name => "certstatus-bad", server => { + "CipherString" => "DEFAULT:\@SECLEVEL=0", extra => { "CertStatus" => "BadResponse", }, }, - client => {}, + client => { + "CipherString" => "DEFAULT:\@SECLEVEL=0", + }, test => { "Method" => "DTLS", "UseSCTP" => "Yes", @@ -75,4 +91,7 @@ our @tests_sctp = ( }, ); -push @tests, @tests_sctp unless disabled("sctp") || disabled("sock"); +if (!$fips_mode || !disabled("dtls1_2")) { + push @tests, @tests_standard; + push @tests, @tests_sctp unless disabled("sctp") || disabled("sock"); +} |