提交 978b945b 编写于 作者: M Matt Caswell

Add SCTP testing to 16-dtls-certstatus.conf

Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3286)
上级 83964ca0
...@@ -13,7 +13,7 @@ use strict; ...@@ -13,7 +13,7 @@ use strict;
use warnings; use warnings;
package ssltests; package ssltests;
use OpenSSL::Test::Utils;
our @tests = ( our @tests = (
{ {
...@@ -41,5 +41,38 @@ our @tests = ( ...@@ -41,5 +41,38 @@ our @tests = (
"Method" => "DTLS", "Method" => "DTLS",
"ExpectedResult" => "ClientFail" "ExpectedResult" => "ClientFail"
} }
}
);
our @tests_sctp = (
{
name => "certstatus-good",
server => {
extra => {
"CertStatus" => "GoodResponse",
},
},
client => {},
test => {
"Method" => "DTLS",
"UseSCTP" => "Yes",
"ExpectedResult" => "Success"
}
},
{
name => "certstatus-bad",
server => {
extra => {
"CertStatus" => "BadResponse",
},
},
client => {},
test => {
"Method" => "DTLS",
"UseSCTP" => "Yes",
"ExpectedResult" => "ClientFail"
}
}, },
); );
push @tests, @tests_sctp unless disabled("sctp") || disabled("sock");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册