diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-03-15 18:26:05 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-03-16 19:07:19 +0100 |
commit | 2c1b0f1e06759052eec749fadb790fa13a9a4eaf (patch) | |
tree | 599363deb580cf870d7327fa8edb0310528be47f /test/ssl-tests/20-cert-select.conf.in | |
parent | Add ExpectedClientCANames (diff) | |
download | openssl-2c1b0f1e06759052eec749fadb790fa13a9a4eaf.tar.xz openssl-2c1b0f1e06759052eec749fadb790fa13a9a4eaf.zip |
Add Client CA names tests
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2969)
Diffstat (limited to 'test/ssl-tests/20-cert-select.conf.in')
-rw-r--r-- | test/ssl-tests/20-cert-select.conf.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/ssl-tests/20-cert-select.conf.in b/test/ssl-tests/20-cert-select.conf.in index 3d50f0220d..1d92e68d25 100644 --- a/test/ssl-tests/20-cert-select.conf.in +++ b/test/ssl-tests/20-cert-select.conf.in @@ -316,6 +316,24 @@ my @tests_tls_1_3 = ( "ExpectedClientCertType" => "RSA", "ExpectedClientSignHash" => "SHA256", "ExpectedClientSignType" => "RSA-PSS", + "ExpectedClientCANames" => "empty", + "ExpectedResult" => "Success" + }, + }, + { + name => "TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names", + server => { + "ClientSignatureAlgorithms" => "PSS+SHA256", + "VerifyCAFile" => test_pem("root-cert.pem"), + "ClientCAFile" => test_pem("root-cert.pem"), + "VerifyMode" => "Require" + }, + client => $client_tls_1_3, + test => { + "ExpectedClientCertType" => "RSA", + "ExpectedClientSignHash" => "SHA256", + "ExpectedClientSignType" => "RSA-PSS", + "ExpectedClientCANames" => test_pem("root-cert.pem"), "ExpectedResult" => "Success" }, }, |