Append certificates from certs onto stack sk according to flags.
Declared in <openssl/x509.h>
int
X509_add_certs(
stack_st_X509* sk,
stack_st_X509* certs,
int flags);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| sk | Destination certificate stack (must be non-NULL). |
| certs | Source stack to add from; may be NULL (no-op success). |
| flags | Combination of X509_ADD_FLAG_* (up-ref, prepend, no-dup, no-ss). |