mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
add missing load_pkimsg() in test/cmp_testlib.c
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10633)
This commit is contained in:
parent
bce58e7fcb
commit
9b2ffec6a0
@ -40,6 +40,14 @@ X509 *load_pem_cert(const char *file)
|
||||
return cert;
|
||||
}
|
||||
|
||||
OSSL_CMP_MSG *load_pkimsg(const char *file)
|
||||
{
|
||||
OSSL_CMP_MSG *msg;
|
||||
|
||||
(void)TEST_ptr((msg = ossl_cmp_msg_load(file)));
|
||||
return msg;
|
||||
}
|
||||
|
||||
X509_REQ *load_csr(const char *file)
|
||||
{
|
||||
X509_REQ *csr = NULL;
|
||||
|
@ -25,6 +25,7 @@
|
||||
EVP_PKEY *load_pem_key(const char *file);
|
||||
X509 *load_pem_cert(const char *file);
|
||||
X509_REQ *load_csr(const char *file);
|
||||
OSSL_CMP_MSG *load_pkimsg(const char *file);
|
||||
int valid_asn1_encoding(const OSSL_CMP_MSG *msg);
|
||||
EVP_PKEY *gen_rsa(void);
|
||||
int STACK_OF_X509_cmp(const STACK_OF(X509) *sk1, const STACK_OF(X509) *sk2);
|
||||
|
Loading…
Reference in New Issue
Block a user