mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Add client cert type tests
Reviewed-by: Emilia Käsper <emilia@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2224)
This commit is contained in:
parent
edb8a5eb54
commit
a470f02360
@ -119,6 +119,7 @@ VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
||||
VerifyMode = Peer
|
||||
|
||||
[test-3]
|
||||
ExpectedClientCertType = RSA
|
||||
ExpectedResult = Success
|
||||
|
||||
|
||||
@ -262,6 +263,7 @@ VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
||||
VerifyMode = Peer
|
||||
|
||||
[test-8]
|
||||
ExpectedClientCertType = RSA
|
||||
ExpectedResult = Success
|
||||
|
||||
|
||||
@ -409,6 +411,7 @@ VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
||||
VerifyMode = Peer
|
||||
|
||||
[test-13]
|
||||
ExpectedClientCertType = RSA
|
||||
ExpectedResult = Success
|
||||
|
||||
|
||||
@ -556,6 +559,7 @@ VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
||||
VerifyMode = Peer
|
||||
|
||||
[test-18]
|
||||
ExpectedClientCertType = RSA
|
||||
ExpectedResult = Success
|
||||
|
||||
|
||||
|
@ -96,7 +96,9 @@ sub generate_tests() {
|
||||
"Certificate" => "\${ENV::TEST_CERTS_DIR}${dir_sep}ee-client-chain.pem",
|
||||
"PrivateKey" => "\${ENV::TEST_CERTS_DIR}${dir_sep}ee-key.pem",
|
||||
},
|
||||
test => { "ExpectedResult" => "Success" },
|
||||
test => { "ExpectedResult" => "Success",
|
||||
"ExpectedClientCertType" => "RSA",
|
||||
},
|
||||
};
|
||||
|
||||
# Handshake with client authentication but without the root certificate.
|
||||
|
Loading…
Reference in New Issue
Block a user