Add test cases for X509_check_private_key
authorPaul Yang <paulyang.inf@gmail.com>
Sun, 4 Jun 2017 19:16:40 +0000 (03:16 +0800)
committerMatt Caswell <matt@openssl.org>
Tue, 6 Jun 2017 16:50:06 +0000 (17:50 +0100)
commit6d2523e0378edabad236bf052d465448dc387c9d
treeda3b17ce0b75018d655c516dcad7ac1de8da47b2
parent7b9863392bff83e7822384a07a11a91feb4e003f
Add test cases for X509_check_private_key

To test X509_check_private_key and relatives.

Add a CSR and corresponding RSA private key to test
X509_REQ_check_private_key function.

Signed-off-by: Paul Yang <paulyang.inf@gmail.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3614)
test/build.info
test/certs/x509-check-key.pem [new file with mode: 0644]
test/certs/x509-check.csr [new file with mode: 0644]
test/recipes/60-test_x509_check_cert_pkey.t [new file with mode: 0644]
test/x509_check_cert_pkey_test.c [new file with mode: 0644]