SSL_dup_CA_list
—
deep copy of a stack of X.509 Name objects
STACK_OF(X509_NAME) *
SSL_dup_CA_list
(const
STACK_OF(X509_NAME) *sk);
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.
SSL_dup_CA_list
() returns the new
STACK_OF(X509_NAME) or NULL
on
failure.
SSL_dup_CA_list
() first appeared in SSLeay
0.8.0 and has been available since OpenBSD 2.4.