libressl-SSL_dup_CA_list3
Deep copy of a stack of x.509 name objects
Usage
SSL Library (libssl, -lssl) libcrypto
#include <openssl/ssl.h>
STACK_OF(X509_NAME) *
SSL_dup_CA_list(const STACK_OF(X509_NAME) *sk);
Overview
SSL_dup_CA_list() constructs a new STACK_OF(X509_NAME) object and places copies of all the X509_NAME objects found on sk on it.
Return values
SSL_dup_CA_list() returns the new STACK_OF(X509_NAME) or NULL on failure.