summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-12-23 16:06:05 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-02-18 16:50:12 +0100
commitdaf1300b80443b6bf0dec19085056ec407925d89 (patch)
tree037789ed2404c3265d4ae1592266744924b6a980 /include
parent937984efc6ed1664e5aeb0e06067d31520066960 (diff)
Add internal X509_add_certs_new(), which simplifies matters
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14039)
Diffstat (limited to 'include')
-rw-r--r--include/crypto/x509.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/x509.h b/include/crypto/x509.h
index 93cb814017..4898eeed61 100644
--- a/include/crypto/x509.h
+++ b/include/crypto/x509.h
@@ -319,6 +319,8 @@ int asn1_item_digest_ex(const ASN1_ITEM *it, const EVP_MD *type, void *data,
unsigned char *md, unsigned int *len,
OSSL_LIB_CTX *libctx, const char *propq);
int X509_add_cert_new(STACK_OF(X509) **sk, X509 *cert, int flags);
+int ossl_x509_add_certs_new(STACK_OF(X509) **p_sk, STACK_OF(X509) *certs,
+ int flags);
int X509_PUBKEY_get0_libctx(OSSL_LIB_CTX **plibctx, const char **ppropq,
const X509_PUBKEY *key);