提交 8336ca13 编写于 作者: D Dr. Stephen Henson

Update and add test

Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2840)
上级 5528d68f
...@@ -334,6 +334,18 @@ my @tests_tls_1_3 = ( ...@@ -334,6 +334,18 @@ my @tests_tls_1_3 = (
"ExpectedResult" => "Success" "ExpectedResult" => "Success"
}, },
}, },
{
name => "TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms",
server => {
"ClientSignatureAlgorithms" => "ECDSA+SHA1:DSA+SHA256:RSA+SHA256",
"VerifyCAFile" => test_pem("root-cert.pem"),
"VerifyMode" => "Request"
},
client => {},
test => {
"ExpectedResult" => "ServerFail"
},
},
); );
push @tests, @tests_tls_1_3 unless disabled("tls1_3"); push @tests, @tests_tls_1_3 unless disabled("tls1_3");
...@@ -370,7 +382,7 @@ my @tests_dsa_tls_1_3 = ( ...@@ -370,7 +382,7 @@ my @tests_dsa_tls_1_3 = (
"CipherString" => "ALL", "CipherString" => "ALL",
}, },
client => { client => {
"SignatureAlgorithms" => "DSA+SHA1:DSA+SHA256", "SignatureAlgorithms" => "DSA+SHA1:DSA+SHA256:ECDSA+SHA256",
"CipherString" => "ALL", "CipherString" => "ALL",
}, },
test => { test => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册