X509_add_certs

Append certificates from certs onto stack sk according to flags.

Synopsis

Declared in <openssl/x509.h>

int
X509_add_certs(
    stack_st_X509* sk,
    stack_st_X509* certs,
    int flags);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
skDestination certificate stack (must be non-NULL).
certsSource stack to add from; may be NULL (no-op success).
flagsCombination of X509_ADD_FLAG_* (up-ref, prepend, no-dup, no-ss).